mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
![]() 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 |