mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-40141: Add line and column information to ast.keyword nodes (GH-19283)
This commit is contained in:
parent
65a796e527
commit
168660b547
6 changed files with 117 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue