]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed...
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 10 Oct 2025 07:51:24 +0000 (10:51 +0300)
committerGitHub <noreply@github.com>
Fri, 10 Oct 2025 07:51:24 +0000 (10:51 +0300)
commitf4104f5d74b99712253fceb39a4460ee3f7a281c
treed2b4aac0ddfb999903e1e3715974afa7f5b91d8c
parente31c22dbf9b35bdc6b63871f2ca9a0a0d6786b28
gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836)
Lib/inspect.py
Lib/test/test_inspect/inspect_fodder2.py
Lib/test/test_inspect/test_inspect.py
Misc/NEWS.d/next/Library/2025-10-09-13-48-28.gh-issue-139783.__NUgo.rst [new file with mode: 0644]