Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

This is only for methods with METH_NOARGS. The code that calls such method, 
calls it with two arguments, passing NULL as the second argument. So the 
signature of the C function should have two parameters. Functions for methods 
with METH_KEYWORDS or METH_FASTCALL should have different corresponding 
signatures.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36197>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to