1
0
forked from VimPlug/jedi

*args/**kwargs tests for #235 (those are working)

This commit is contained in:
David Halter
2013-08-06 15:21:40 +04:30
parent 289967303d
commit 22edd6a149

View File

@@ -155,6 +155,7 @@ def a():
# ----------------- # -----------------
def args_func(*args): def args_func(*args):
#? tuple()
return args return args
exe = args_func(1, "") exe = args_func(1, "")
@@ -203,6 +204,9 @@ exe[1][1]
# ** kwargs # ** kwargs
# ----------------- # -----------------
def kwargs_func(**kwargs): def kwargs_func(**kwargs):
#? ['keys']
kwargs.keys
#? dict()
return kwargs return kwargs
exe = kwargs_func(a=3,b=4.0) exe = kwargs_func(a=3,b=4.0)