diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-09-02 11:07:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-02 11:07:08 (GMT) |
commit | 2b4c31d87d6fe9ec7cdc88eb6139ce9370666739 (patch) | |
tree | 8cb12a16715991260b3cd0aadac5828639980293 /Python/sysmodule.c | |
parent | 8b6dd92db78cd2c0170e30d9e2fd2851b7f60b13 (diff) | |
download | cpython-2b4c31d87d6fe9ec7cdc88eb6139ce9370666739.zip cpython-2b4c31d87d6fe9ec7cdc88eb6139ce9370666739.tar.gz cpython-2b4c31d87d6fe9ec7cdc88eb6139ce9370666739.tar.bz2 |
[3.13] gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001) (#123182)
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 f88c14d412522587085ae039ebe70b91d5b4e226)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions