gh-106727: Add __module__
check for inspect.getsource(cls)
#106968
Merged
__module__
check for inspect.getsource(cls)
#106968