Issue #27332: Fixed the type of the first argument of module-level functions

generated by Argument Clinic.  Patch by Petr Viktorin.
This commit is contained in:
Serhiy Storchaka 2016-07-07 17:35:15 +03:00
parent b8a2f51ceb
commit 1a2b24f02d
71 changed files with 1814 additions and 1835 deletions

View file

@ -22,8 +22,8 @@ Return the number of weak references to 'object'.
[clinic start generated code]*/
static Py_ssize_t
_weakref_getweakrefcount_impl(PyModuleDef *module, PyObject *object)
/*[clinic end generated code: output=6a6ad0b98285e468 input=cedb69711b6a2507]*/
_weakref_getweakrefcount_impl(PyObject *module, PyObject *object)
/*[clinic end generated code: output=301806d59558ff3e input=cedb69711b6a2507]*/
{
PyWeakReference **list;