summaryrefslogtreecommitdiff
path: root/Parser/Python.asdl
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-04-02 00:47:39 +0100
committerGitHub <noreply@github.com>2020-04-02 00:47:39 +0100
commit168660b547d5f683c5d3c60447cfa8c6d620efc3 (patch)
treee57909715a435ccb1699af5670b3a3319636317e /Parser/Python.asdl
parent65a796e5272f61b42792d3a8c69686558c1872c5 (diff)
downloadcpython-git-168660b547d5f683c5d3c60447cfa8c6d620efc3.tar.gz
bpo-40141: Add line and column information to ast.keyword nodes (GH-19283)
Diffstat (limited to 'Parser/Python.asdl')
-rw-r--r--Parser/Python.asdl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/Python.asdl b/Parser/Python.asdl
index 11d877d664..f789f1da45 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)