[issue13386] Document documentation conventions for optional args

Ezio Melotti report at bugs.python.org
Sat Nov 12 14:49:21 CET 2011


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

The problem is when the default placeholder is some unique object() or some _internal value (we had something similar with a socket timeout once).
Also for something like str.strip(), would you document chars=None or chars=" \n\r\t\v\f"?

----------

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


More information about the Python-bugs-list mailing list