Closed j00bar closed 9 years ago
What version of Python is this on? That's the keyword-only argument syntax that was added in PEP 3102 to Python 3:
def function(arg, *, positional):
pass
function(1, 2) # TypeError
function(1, positional=2) # OK
I made the decision to have this library be Python 3 only, so that inspect.signature
can be used instead of the much more unwieldy getfullargspec
.
Py2.7 - so I suppose disregard. Thanks!