multiple values refactoring in params
This commit is contained in:
1 parent
1899f16a4a
commit
b24178b275
3 files changed
+56
-25
No files matched your search
@@ -231,6 +231,17 @@ exe[1]
|
||||
#? list()
|
||||
exe[1][1]
|
||||
|
||||
|
||||
# In a dynamic search, both inputs should be given.
|
||||
def simple(a):
|
||||
#? int() str()
|
||||
return a
|
||||
def xargs(*args):
|
||||
return simple(*args)
|
||||
|
||||
xargs(1)
|
||||
xargs('')
|
||||
|
||||
# -----------------
|
||||
# ** kwargs
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user