add support to "Starred" expressions
This commit is contained in:
parent
e0e0216312
commit
0bb3135cb7
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@ __pycache__
|
||||
*.log
|
||||
*.log.py
|
||||
.vscode-upload.json
|
||||
dist
|
||||
*.egg-info
|
||||
@ -1,6 +1,6 @@
|
||||
from .definitions import FunctionDef, Return, Lambda
|
||||
from .statements import Pass, Assign, AnnAssign, AugAssign
|
||||
from .expressions import Expr, UnaryOp, BinOp, Call, Compare, Attribute, Subscript, Slice, ExtSlice, keyword, IfExp, Index
|
||||
from .expressions import Expr, UnaryOp, BinOp, Call, Compare, Attribute, Subscript, Slice, ExtSlice, Starred, keyword, IfExp, Index
|
||||
from .literals import Constant, Tuple, List, Set, Dict, FormattedValue, JoinedStr
|
||||
from .variables import Name
|
||||
from .control_flow import If, For, Continue, Break, With, Raise
|
||||
|
||||
@ -60,6 +60,10 @@ def ExtSlice(self, cmtor):
|
||||
cmtor.process(dim)
|
||||
|
||||
|
||||
def Starred(self, cmtor):
|
||||
cmtor.process(self.value)
|
||||
|
||||
|
||||
def keyword(self, cmtor):
|
||||
cmtor.process(self.value)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user