[issue14586] TypeError: truncate() takes no keyword arguments

R. David Murray report at bugs.python.org
Mon Apr 16 03:07:06 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

The suggested doc change won't work, since that would imply that the size argument was required.  We'd have to use the old truncate([size]) notation.

Supporting it as a keyword argument is probably to be preferred, but someone will have to write the patch :)

----------
nosy: +pitrou, r.david.murray
stage:  -> needs patch
versions: +Python 3.3

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


More information about the Python-bugs-list mailing list