kuroko/test/testArgumentExpansions.krk

7 lines
187 B
Plaintext

def func(a,b,*args,**kwargs):
print("a =",a,"b =",b)
print("args =",args,"kwargs =",kwargs)
print("\[[31mCall starts here.\[[0m")
func(1,*[1,2,3],**{"foo":"bar"},stuff="things")