[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files
Larry Hastings
report at bugs.python.org
Fri Jan 10 04:14:12 CET 2014
Larry Hastings added the comment:
Right, it doesn't work because you left the PyArg_ParseTuple call in your impl function. Remove that and it should work.
Rule 1: Argument Clinic handles all argument parsing for you. Your "impl" function should never call PyArg_ParseTuple or PyArg_ParseTupleAndKeywords.
Rule 2: Never modify the output of Argument Clinic by hand.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20173>
_______________________________________
More information about the Python-bugs-list
mailing list