diff options
author | Batuhan Taskaya <isidentical@gmail.com> | 2022-11-22 10:41:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 10:41:14 (GMT) |
commit | 1acdfec359fdf3db936168480be0f4157273c200 (patch) | |
tree | ecc1f515cee2ebfe1e5f740af7b828775a8fd7e2 /Misc | |
parent | bc3a11d21ddef28047b18c0f6a5068fa9fb16da2 (diff) | |
download | cpython-1acdfec359fdf3db936168480be0f4157273c200.zip cpython-1acdfec359fdf3db936168480be0f4157273c200.tar.gz cpython-1acdfec359fdf3db936168480be0f4157273c200.tar.bz2 |
gh-99341: Cover type ignore nodes when incrementing line numbers (GH-99422)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-11-13-02-06-56.gh-issue-99341.8-OlwB.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-11-13-02-06-56.gh-issue-99341.8-OlwB.rst b/Misc/NEWS.d/next/Library/2022-11-13-02-06-56.gh-issue-99341.8-OlwB.rst new file mode 100644 index 0000000..451561c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-11-13-02-06-56.gh-issue-99341.8-OlwB.rst @@ -0,0 +1,2 @@ +Fix :func:`ast.increment_lineno` to also cover :class:`ast.TypeIgnore` when +changing line numbers. |