summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMatthew Suozzo <msuozzo@google.com>2021-04-10 20:56:28 (GMT)
committerGitHub <noreply@github.com>2021-04-10 20:56:28 (GMT)
commit75a06f067bd0a2687312e5f8e78f9075be76ad3a (patch)
treea0bb72532b0579b5949a00b620c83049ae803f8c /Misc
parente05a703848473b0365886dcc593cbddc46609f29 (diff)
downloadcpython-75a06f067bd0a2687312e5f8e78f9075be76ad3a.zip
cpython-75a06f067bd0a2687312e5f8e78f9075be76ad3a.tar.gz
cpython-75a06f067bd0a2687312e5f8e78f9075be76ad3a.tar.bz2
bpo-43798: Add source location attributes to alias (GH-25324)
* Add source location attributes to alias. * Move alias star construction to pegen helper. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2021-04-10-00-01-43.bpo-43798.p_nJFM.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2021-04-10-00-01-43.bpo-43798.p_nJFM.rst b/Misc/NEWS.d/next/Core and Builtins/2021-04-10-00-01-43.bpo-43798.p_nJFM.rst
new file mode 100644
index 0000000..f6ab5dd
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2021-04-10-00-01-43.bpo-43798.p_nJFM.rst
@@ -0,0 +1 @@
+:class:`ast.alias` nodes now include source location metadata attributes e.g. lineno, col_offset.