]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40662: Fixed ast.get_source_segment for ast nodes that have incomplete location...
authorIrit Katriel <iritkatriel@yahoo.com>
Mon, 18 May 2020 18:14:12 +0000 (19:14 +0100)
committerGitHub <noreply@github.com>
Mon, 18 May 2020 18:14:12 +0000 (19:14 +0100)
commite6578a226d8a8a13d1062d154fad0fef28ee2416
tree49fc3caf99ad4a057ebea2d2be2c6e4d9727ede6
parent63b8e0cba3d43e53a8dd8878ee1443c8427f462d
bpo-40662: Fixed ast.get_source_segment for ast nodes that have incomplete location information (GH-20157)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Lib/ast.py
Lib/test/test_ast.py
Misc/NEWS.d/next/Library/2020-05-18-12-56-45.bpo-40662.dfornR.rst [new file with mode: 0644]