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

R. David Murray report at bugs.python.org
Tue Jul 30 22:29:30 CEST 2013

R. David Murray added the comment:

The patch looks good, but I would prefer that the test not use mock+knowledge of how get_comment is implemented, but instead test the public API by actually creating a module and deleting the source file.  test.script_helpers can be used to do this easily.


Python tracker <report at bugs.python.org>

More information about the docs mailing list