[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>
M
Miss Islington (bot) committed
2b4c31d87d6fe9ec7cdc88eb6139ce9370666739
Parent: 8b6dd92
Committed by GitHub <noreply@github.com>
on 9/2/2024, 11:07:08 AM