]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-83035: handle decorator with nested parens in inspect.getsource (GH-99654)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Dec 2022 17:26:11 +0000 (09:26 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Dec 2022 17:26:11 +0000 (09:26 -0800)
commit2997f3913a7f644352a1d4013588451837d2ac58
tree8912b179a130a2010de9c8a49c662bac7eee45b2
parent2b97ddd5122c016bd090ed187479606205b6b1a4
gh-83035: handle decorator with nested parens in inspect.getsource (GH-99654)

(cherry picked from commit 68e41295b8611a990de68f15c89f1eb3dea51867)

Co-authored-by: Carl Meyer <carl@oddbird.net>
Lib/inspect.py
Lib/test/inspect_fodder2.py
Lib/test/test_inspect.py
Misc/NEWS.d/next/Library/2022-11-21-16-24-01.gh-issue-83035.qZIujU.rst [new file with mode: 0644]