]> 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:05 +0000 (12:20 -0800)
committerGitHub <noreply@github.com>
Fri, 4 Dec 2020 20:20:05 +0000 (12:20 -0800)
commit81ac030d03bdaedd724603af6f89f9248a5f2700
treec9624031806f23899bcf2d5381aa84a67c468468
parentc7cf66d2fe1b85cc02153be6422dfc5e34811638
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]