[issue8626] TypeError: rsplit() takes no keyword arguments

Dave Abrahams report at bugs.python.org
Wed May 5 16:28:11 CEST 2010


New submission from Dave Abrahams <dave at boostpro.com>:

Based on the rsplit documentation, I'd expect

  'foo bar'.rsplit(maxsplit=1)

to work.  This is probably a much bigger problem than just rsplit, i.e. I doubt there is a policy about whether documented parameter names need to be usable as keywords, and if not, how one finds out which keywords are supported.

----------
messages: 105040
nosy: dabrahams
priority: normal
severity: normal
status: open
title: TypeError: rsplit() takes no keyword arguments

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8626>
_______________________________________


More information about the Python-bugs-list mailing list