[docs] [issue21915] telnetlib.Telnet constructor does not match telnetlib.Telnet.__init__ docstring
R. David Murray
report at bugs.python.org
Fri Jul 4 15:42:19 CEST 2014
R. David Murray added the comment:
There are reasons for both of these things. In 2.7 we generally used the  notation for keyword arguments. In both, the timeout doesn't have a default that it is possible to document using our standard notation, so we use the  notation. If you can think of a better way to document this, there are several other places where we have similar timeout arguments that could also be improved (but we haven't thought of an acceptable way to improve it yet).
Python tracker <report at bugs.python.org>
More information about the docs