Use METH_NOARGS as this is now the "right way" in python C extensions. It allows us to avoid pointless calls to PyArg_ParseTuple.
Some minor trailing whitespace removed as well.
Do you know what is the minimum version of Python this is supported in?
It doesn't specifically say, unlike some other constants, but the implication is that it's older than Python 2.3, which is fine by me. I don't want to go out of my way to break MySQLdb on Python 2.3 but I'll do it if there's a good reason.
METH_NOARGS showed up way back in Python 2.2. Applied to trunk.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.