[issue29072] the message of help(os.environ.setdefault) have some error

R. David Murray report at bugs.python.org
Mon Dec 26 09:15:50 EST 2016


R. David Murray added the comment:

The documented syntax is correct.  The '[]' are part of the syntax *specification*, not the syntax itself.  They indicate an optional argument, just as they do in most syntax diagrams.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list