Created
March 13, 2012 16:26
-
-
Save starenka/2029747 to your computer and use it in GitHub Desktop.
2+2=5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| In [1]: def foo(foo,bar,baz=None): pass | |
| In [2]: foo('bar',baz='foo') | |
| --------------------------------------------------------------------------- | |
| TypeError Traceback (most recent call last) | |
| /tmp/<ipython-input-2-bdb4909afb85> in <module>() | |
| ----> 1 foo('bar',baz='foo') | |
| TypeError: foo() 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