summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2023-05-26 12:54:37 (GMT)
committerGitHub <noreply@github.com>2023-05-26 12:54:37 (GMT)
commitba73473f4c18ba4cf7ab18d84d94a47d2d37a0c5 (patch)
tree64dd261a14ec8991182807c5a01f8042c5fb6f1f /Misc
parent6e1eccdcce5ea3bf1ef9d326d20ef9df21262c6b (diff)
downloadcpython-ba73473f4c18ba4cf7ab18d84d94a47d2d37a0c5.zip
cpython-ba73473f4c18ba4cf7ab18d84d94a47d2d37a0c5.tar.gz
cpython-ba73473f4c18ba4cf7ab18d84d94a47d2d37a0c5.tar.bz2
gh-104799: Move location of type_params AST fields (#104828)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2023-05-23-18-31-49.gh-issue-104799.MJYOw6.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-05-23-18-31-49.gh-issue-104799.MJYOw6.rst b/Misc/NEWS.d/next/Library/2023-05-23-18-31-49.gh-issue-104799.MJYOw6.rst
new file mode 100644
index 0000000..614918d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-05-23-18-31-49.gh-issue-104799.MJYOw6.rst
@@ -0,0 +1,4 @@
+Adjust the location of the (see :pep:`695`) ``type_params`` field on
+:class:`ast.ClassDef`, :class:`ast.AsyncFunctionDef`, and
+:class:`ast.FunctionDef` to better preserve backward compatibility. Patch by
+Jelle Zijlstra