mirror of https://github.com/python/cpython.git
![]() * Setting the __module__ attribute for a class now removes the
__firstlineno__ item from the type's dict.
* The _collections_abc and _pydecimal modules now completely replace the
collections.abc and decimal modules after importing them. This
allows to get the source of classes and functions defined in these
modules.
* inspect.findsource() now checks whether the first line number for a
class is out of bound.
(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 |