summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBatuhan Taskaya <isidentical@gmail.com>2022-11-22 10:41:14 (GMT)
committerGitHub <noreply@github.com>2022-11-22 10:41:14 (GMT)
commit1acdfec359fdf3db936168480be0f4157273c200 (patch)
treeecc1f515cee2ebfe1e5f740af7b828775a8fd7e2 /Misc
parentbc3a11d21ddef28047b18c0f6a5068fa9fb16da2 (diff)
downloadcpython-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.rst2
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.