Skip to content

Instantly share code, notes, and snippets.

@rxdazn
Created December 10, 2014 21:47
Show Gist options
  • Save rxdazn/6bbc1f30b0b1bb8f79d1 to your computer and use it in GitHub Desktop.
Save rxdazn/6bbc1f30b0b1bb8f79d1 to your computer and use it in GitHub Desktop.
>>> def test(a, b, recurse=True):
... test(a, recurse=False)
...
>>> test(1,2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in test
TypeError: test() takes at least 2 arguments (2 given)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment