diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-12-04 20:20:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-04 20:20:09 (GMT) |
commit | 3b14f18205b17d1634e21bd7bc48152247590d9f (patch) | |
tree | 17ff3ee63958f75e6c13043f41ca0baec3042da3 /Misc/NEWS.d | |
parent | 8e8f82dd9459b9f62c21480528d737cffd6146bc (diff) | |
download | cpython-3b14f18205b17d1634e21bd7bc48152247590d9f.zip cpython-3b14f18205b17d1634e21bd7bc48152247590d9f.tar.gz cpython-3b14f18205b17d1634e21bd7bc48152247590d9f.tar.bz2 |
bpo-42116: Fix inspect.getsource handling of trailing comments (GH-23630)
(cherry picked from commit 6e1eec71f59c344fb23c7977061dc2c97b77d51b)
Co-authored-by: Irit Katriel <iritkatriel@yahoo.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-12-03-15-42-32.bpo-42116.yIwroP.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-12-03-15-42-32.bpo-42116.yIwroP.rst b/Misc/NEWS.d/next/Library/2020-12-03-15-42-32.bpo-42116.yIwroP.rst new file mode 100644 index 0000000..febda89 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-12-03-15-42-32.bpo-42116.yIwroP.rst @@ -0,0 +1 @@ +Fix handling of trailing comments by :func:`inspect.getsource`.
\ No newline at end of file |