Thomas Viehmann <tv.python....@beamnet.de> added the comment:
So I want "inspect.showsource" to have the same output whether my class has been defined in a .py or in my Jupyter notebook. I appreciate there are limitations to what "inspect.showsource" can do, but I am not so sure how that creates uncertainty my expectation of the output when it should just be the same as the current behaviour when the class is defined in a .py module. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33826> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com