[ create a new paste ] login | about

Link: http://codepad.org/JiFQi7vr    [ raw code | output | fork ]

Python, pasted on Aug 31:
1
2
3
4
5
def f(**args, **kwargs):
 print args, kwargs

def args = 5, 7
f(42, *args,)


Output:
1
2
3
4
  Line 1
    def f(**args, **kwargs):
                ^
SyntaxError: invalid syntax


Create a new paste based on this one


Comments: