]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106727: Add `__module__` check for `inspect.getsource(cls)` (#106968)
authorTian Gao <gaogaotiantian@hotmail.com>
Mon, 24 Jul 2023 20:12:45 +0000 (12:12 -0800)
committerGitHub <noreply@github.com>
Mon, 24 Jul 2023 20:12:45 +0000 (13:12 -0700)
commitb38370349139e06f3a44150943ee44e345567d77
treeb1914966e580a864ba4a6e1aaa5aeebe31ae805a
parent8ebc9fc321ba1eeb3282c2170f351c54956893e6
gh-106727: Add `__module__` check for `inspect.getsource(cls)` (#106968)
Lib/inspect.py
Lib/test/test_inspect.py