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

Vajrasky Kok report at bugs.python.org
Sat Dec 14 07:55:45 CET 2013

Vajrasky Kok added the comment:

So, I just found out that imp has been deprecated. Here is the patch that uses importlib.machinery instead of imp.load_source.

Added file: http://bugs.python.org/file33127/issue16355_v5.diff

Python tracker <report at bugs.python.org>

More information about the docs mailing list