[issue37922] inspect.getsource returns wrong class definition when multiple class definitions share the same name (but are defined in different scopes)

Karthikeyan Singaravelan report at bugs.python.org
Thu Oct 24 05:13:41 EDT 2019


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

Closing it as duplicate of issue35113.

----------
nosy: +serhiy.storchaka
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> inspect.getsource returns incorrect source for classes when class definition is part of multiline strings
type:  -> behavior

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


More information about the Python-bugs-list mailing list