]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38307: Add end_lineno attribute to pyclbr Objects (GH-24348)
authorAviral Srivastava <avi.srivastava254084@gmail.com>
Mon, 1 Feb 2021 17:38:44 +0000 (09:38 -0800)
committerGitHub <noreply@github.com>
Mon, 1 Feb 2021 17:38:44 +0000 (12:38 -0500)
commit000cde59847beaf5fa7b73633e1f3c898fe5bf90
tree9b6036270daecbf44973288fed04215eeb8d24a5
parentb5931f1d9f1f9f907e5cb6e193154672f78c1225
bpo-38307: Add end_lineno attribute to pyclbr Objects (GH-24348)

For back-compatibility, make the new constructor parameter for public classes Function and Class
keyword-only with a default of None.

Co-authored-by: Aviral Srivastava <aviralsrivastava@Avirals-MacBook-Air.local
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/whatsnew/3.10.rst
Lib/idlelib/idle_test/test_browser.py
Lib/pyclbr.py
Lib/test/test_pyclbr.py
Misc/NEWS.d/next/Library/2020-03-16-03-03-21.bpo-38307.2cmw2i.rst [new file with mode: 0644]