Drop support for Python 3.0 to 3.3

See #701.
This commit is contained in:
Olly Betts 2018-05-18 17:07:18 +12:00
commit a82c1b943b
5 changed files with 8 additions and 20 deletions

View file

@ -329,16 +329,7 @@ SWIG_init(void) {
PyObject *m, *d, *md;
#if PY_VERSION_HEX >= 0x03000000
static struct PyModuleDef SWIG_module = {
# if PY_VERSION_HEX >= 0x03020000
PyModuleDef_HEAD_INIT,
# else
{
PyObject_HEAD_INIT(NULL)
NULL, /* m_init */
0, /* m_index */
NULL, /* m_copy */
},
# endif
(char *) SWIG_name,
NULL,
-1,