gh-106727: Make `inspect.getsource` smarter for class for same name definitions (#106815)

4 files changed