Do not pretend Python 2.5 is supported

This commit is contained in:
J. David Ibáñez 2011-11-24 22:26:29 +01:00
parent 9064b8e038
commit eafcef38f6

@ -30,14 +30,6 @@
#include <Python.h>
#include <git2.h>
/* Python 2.5 support */
#ifndef Py_TYPE
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
#endif
#ifndef PyVarObject_HEAD_INIT
#define PyVarObject_HEAD_INIT(type, size) PyObject_HEAD_INIT(type) size,
#endif
/* Python 3 support */
#if PY_MAJOR_VERSION >= 3
#define PyInt_AsLong PyLong_AsLong