[issue35113] inspect.getsource returns incorrect source for classes when class definition is part of multiline strings

Karthikeyan Singaravelan report at bugs.python.org
Sat Apr 18 12:19:39 EDT 2020


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


New changeset 696136b993e11b37c4f34d729a0375e5ad544ade by Karthikeyan Singaravelan in branch 'master':
bpo-35113: Fix inspect.getsource to return correct source for inner classes (#10307)
https://github.com/python/cpython/commit/696136b993e11b37c4f34d729a0375e5ad544ade


----------

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


More information about the Python-bugs-list mailing list