summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-01 23:47:39 (GMT)
committerGitHub <noreply@github.com>2020-04-01 23:47:39 (GMT)
commit168660b547d5f683c5d3c60447cfa8c6d620efc3 (patch)
treee57909715a435ccb1699af5670b3a3319636317e /Parser
parent65a796e5272f61b42792d3a8c69686558c1872c5 (diff)
downloadcpython-168660b547d5f683c5d3c60447cfa8c6d620efc3.zip
cpython-168660b547d5f683c5d3c60447cfa8c6d620efc3.tar.gz
cpython-168660b547d5f683c5d3c60447cfa8c6d620efc3.tar.bz2
bpo-40141: Add line and column information to ast.keyword nodes (GH-19283)
Diffstat (limited to 'Parser')
-rw-r--r--Parser/Python.asdl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 11d877d..f789f1d 100644
--- a/Parser/Python.asdl
+++ b/Parser/Python.asdl
@@ -114,6 +114,7 @@ module Python
-- keyword arguments supplied to call (NULL identifier for **kwargs)
keyword = (identifier? arg, expr value)
+ attributes (int lineno, int col_offset, int? end_lineno, int? end_col_offset)
-- import name with optional 'as' alias.
alias = (identifier name, identifier? asname)