[docs] [issue12920] Document that inspect.getsource only works for objects loaded from files, not interactive session

Ned Deily report at bugs.python.org
Wed Jun 24 06:04:29 CEST 2015

Ned Deily added the comment:

In duplicate Issue24491, zorceta notes: "Both python.exe and IDLE can't. IPython is able to, as it inserts REPL input into linecache."

nosy: +ned.deily, zorceta
versions: +Python 3.5, Python 3.6 -Python 3.2, Python 3.3

Python tracker <report at bugs.python.org>

More information about the docs mailing list