[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Py C/API - Using METH_O vs METH_VARARGS



Campbell Barton wrote:
Noticed METH_O isnt used anywhere in pygame, this avoids creating a
tuple only to get a single PyObject back out with PyArg_ParseTuple()
I'm pretty sure METH_O has been added after Python 2.3. Someone should definitely find the minimum required Python version before switching anything.