summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2024-05-09 22:30:14 (GMT)
committerGitHub <noreply@github.com>2024-05-09 22:30:14 (GMT)
commit68fbc00dc870f6a8dcbecd2ec19298e21015867f (patch)
tree64510f6aeda5d45d63c36142818b9d25f03750d5 /Misc
parent98ff3f65c0232f31df89ebb52b244625ec9e3eb6 (diff)
downloadcpython-68fbc00dc870f6a8dcbecd2ec19298e21015867f.zip
cpython-68fbc00dc870f6a8dcbecd2ec19298e21015867f.tar.gz
cpython-68fbc00dc870f6a8dcbecd2ec19298e21015867f.tar.bz2
gh-118851: Default ctx arguments to AST constructors to Load() (#118854)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-05-09-08-46-12.gh-issue-118851.aPAoJw.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-05-09-08-46-12.gh-issue-118851.aPAoJw.rst b/Misc/NEWS.d/next/Library/2024-05-09-08-46-12.gh-issue-118851.aPAoJw.rst
new file mode 100644
index 0000000..d036d0c
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-05-09-08-46-12.gh-issue-118851.aPAoJw.rst
@@ -0,0 +1,2 @@
+``ctx`` arguments to the constructors of :mod:`ast` node classes now default
+to :class:`ast.Load() <ast.Load>`. Patch by Jelle Zijlstra.