cpython/Lib/test/test_inspect
Miss Islington (bot) ed9c0c3cbe
[3.14] gh-137477: Fix inspect.getblock() for generator expressions (GH-137488) (#137993)
gh-137477: Fix inspect.getblock() for generator expressions (GH-137488)

This fixes also inspect.getsourcelines() and inspect.getsource().
(cherry picked from commit eae9d7de1c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-10-07 20:48:40 +02:00
..
__init__.py
inspect_deferred_annotations.py gh-101552: Allow pydoc to display signatures in source format (#124669) 2024-10-09 05:03:53 +00:00
inspect_fodder.py gh-101860: Expose __name__ on property (GH-101876) 2024-02-20 17:14:34 +02:00
inspect_fodder2.py [3.14] gh-137477: Fix inspect.getblock() for generator expressions (GH-137488) (#137993) 2025-10-07 20:48:40 +02:00
inspect_stock_annotations.py
inspect_stringized_annotations.py
inspect_stringized_annotations_2.py
inspect_stringized_annotations_pep695.py Add some more edge-case tests for inspect.get_annotations with eval_str=True (#120550) 2024-06-15 12:51:58 +00:00
test_inspect.py [3.14] gh-137477: Fix inspect.getblock() for generator expressions (GH-137488) (#137993) 2025-10-07 20:48:40 +02:00