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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20173>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to