kuroko/test/testArgumentExpansions.krk
2021-01-03 18:13:17 +09:00

7 lines
184 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")