]> 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:24:41 +0000 (09:24 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Dec 2022 17:24:41 +0000 (09:24 -0800)
commitfe7c309a8c5d8abedd97dd271e94eb2c0f858c12
tree8a8b5eabddd24131ba3a1ffa92ef7b7a15c838b3
parent72cfe5b1b9ad1bbe9da38a5af605e5d03ad88147
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]