forked from VimPlug/jedi
function calls with key arguments work now
This commit is contained in:
@@ -54,6 +54,21 @@ variable_rename(list())().
|
||||
#? []
|
||||
variable_rename(1)().
|
||||
|
||||
# -----------------
|
||||
# double execution
|
||||
# -----------------
|
||||
|
||||
def func(a=1, b=''):
|
||||
return a, b
|
||||
|
||||
exe = func(b=list, a=tuple)
|
||||
#? []
|
||||
exe[0].real
|
||||
#? ['index']
|
||||
exe[0].index
|
||||
|
||||
#? ['append']
|
||||
exe[1].append
|
||||
# -----------------
|
||||
# closures
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user