mirror of https://github.com/python/cpython
2b4c31d87d
gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001)
Look up __firstlineno__ only in the class' dict, without searching in
base classes.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
inspect_fodder.py | ||
inspect_fodder2.py | ||
inspect_stock_annotations.py | ||
inspect_stringized_annotations.py | ||
inspect_stringized_annotations_2.py | ||
inspect_stringized_annotations_pep695.py | ||
test_inspect.py |