Serhiy Storchaka <> 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 <>
Python-bugs-list mailing list

Reply via email to