summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-22 11:06:26 (GMT)
committerGitHub <noreply@github.com>2022-11-22 11:06:26 (GMT)
commit99e852c28fb7ba86aebbe6926b93eb2db8fd9a10 (patch)
treec03003aacb069954c49a0635492515f7862fa49c /Misc/NEWS.d
parent37dbbb208fd9e01890bfb2c741e89359582d5569 (diff)
downloadcpython-99e852c28fb7ba86aebbe6926b93eb2db8fd9a10.zip
cpython-99e852c28fb7ba86aebbe6926b93eb2db8fd9a10.tar.gz
cpython-99e852c28fb7ba86aebbe6926b93eb2db8fd9a10.tar.bz2
gh-99341: Cover type ignore nodes when incrementing line numbers (GH-99422)
(cherry picked from commit 1acdfec359fdf3db936168480be0f4157273c200) Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-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.