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

Argument Clinic generates the following declaration for the second parameter of 
METH_NOARGS functions:

    PyObject *Py_UNUSED(ignored)

It would be nice to follow the same style.

If the first parameter is of type PyObject* too, the explicit cast to 
PyCFunction can be removed.

Skip the curses module. It will be converted to Argument Clinic.

----------
nosy: +serhiy.storchaka
versions: +Python 3.8

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

Reply via email to