This commit is contained in:
David Halter
2012-11-02 17:01:33 +01:00
parent 1fa0230339
commit 948b72d27f
2 changed files with 7 additions and 1 deletions

View File

@@ -802,7 +802,8 @@ class Statement(Simple):
while is_call_or_close(): while is_call_or_close():
result = result.parent() result = result.parent()
close_brackets = False close_brackets = False
result.add_to_current_field(tok) if tok != '\n':
result.add_to_current_field(tok)
if level != 0: if level != 0:
debug.warning("Brackets don't match: %s." debug.warning("Brackets don't match: %s."

View File

@@ -188,6 +188,11 @@ exe['b']
#? int() float() #? int() float()
exe['c'] exe['c']
exe2 = kwargs_func(**{a:3,
b:4.0})
#? int()
exe2['a']
# ----------------- # -----------------
# *args / ** kwargs # *args / ** kwargs
# ----------------- # -----------------