]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 4 Dec 2020 20:20:09 +0000 (12:20 -0800)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 20:20:09 +0000 (12:20 -0800)
commit3b14f18205b17d1634e21bd7bc48152247590d9f
tree17ff3ee63958f75e6c13043f41ca0baec3042da3
parent8e8f82dd9459b9f62c21480528d737cffd6146bc
bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630)

(cherry picked from commit 6e1eec71f59c344fb23c7977061dc2c97b77d51b)

Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
Lib/inspect.py
Lib/test/inspect_fodder.py
Lib/test/test_inspect.py
Misc/NEWS.d/next/Library/2020-12-03-15-42-32.bpo-42116.yIwroP.rst [new file with mode: 0644]