]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is follo...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 10 Oct 2025 21:26:36 +0000 (23:26 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Oct 2025 21:26:36 +0000 (21:26 +0000)
commitaee27d9d19b94daa454797a86fffeb295e1fac4a
tree76f7def5a845a673968d3028819c6d92e716a99e
parent38bedb342d35562be6a2e71fdb56e8d7b3a79efd
[3.13] gh-139783: Fix inspect.getsourcelines() for the case when a decorator is followed by a comment or an empty line (GH-139836) (GH-139890)

(cherry picked from commit f4104f5d74b99712253fceb39a4460ee3f7a281c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]