[issue40317] inspect.getsource() examines incorrect target

Karthikeyan Singaravelan report at bugs.python.org
Tue Apr 28 23:37:05 EDT 2020


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

yes, thanks Ammar. Thanks Grzegorz for the report.

----------
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> inspect.getsource returns incorrect source for classes when class definition is part of multiline strings
versions: +Python 3.9 -Python 2.7, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40317>
_______________________________________


More information about the Python-bugs-list mailing list