[docs] inspect.getcomments() does not work in the interactive shell (issue 16355)

rdmurray at bitdance.com rdmurray at bitdance.com
Wed Oct 9 21:49:08 CEST 2013


I didn't review the tests because I got hung up on whether or not this
is a good idea at all when I looked at the source.

See tracker comments for more.


http://bugs.python.org/review/16355/diff/9453/Doc/library/inspect.rst
File Doc/library/inspect.rst (right):

http://bugs.python.org/review/16355/diff/9453/Doc/library/inspect.rst#newcode346
Doc/library/inspect.rst:346: the object is a built-in module, class or
function.
To stay parallel to the nearby text, this should read "This will fail
with an :exc:`OSError` if..."

http://bugs.python.org/review/16355/diff/9453/Doc/library/inspect.rst#newcode354
Doc/library/inspect.rst:354: 
This can be shortened to "Errors are raised as noted, where previously
``None`` was returned.

http://bugs.python.org/review/16355/


More information about the docs mailing list