mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #477750: Use METH_ constants in Modules.
This commit is contained in:
parent
c0e1671c71
commit
43b936d08c
27 changed files with 449 additions and 449 deletions
|
@ -743,10 +743,10 @@ ttob(PyObject *self, PyObject *args)
|
|||
|
||||
static PyMethodDef
|
||||
rgbimg_methods[] = {
|
||||
{"sizeofimage", sizeofimage},
|
||||
{"longimagedata", longimagedata},
|
||||
{"longstoimage", longstoimage},
|
||||
{"ttob", ttob},
|
||||
{"sizeofimage", sizeofimage, METH_OLDARGS},
|
||||
{"longimagedata", longimagedata, METH_OLDARGS},
|
||||
{"longstoimage", longstoimage, METH_OLDARGS},
|
||||
{"ttob", ttob, METH_OLDARGS},
|
||||
{NULL, NULL} /* sentinel */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue