Python >= 2.7 is required.
---
generator/python.ml | 6 ------
1 file changed, 6 deletions(-)
diff --git a/generator/python.ml b/generator/python.ml
index 821c66755..750d9c675 100644
--- a/generator/python.ml
+++ b/generator/python.ml
@@ -51,12 +51,6 @@ let rec generate_python_actions_h () =
#include <Python.h>
#pragma GCC diagnostic pop
-#if PY_VERSION_HEX < 0x02050000
-typedef int Py_ssize_t;
-#define PY_SSIZE_T_MAX INT_MAX
-#define PY_SSIZE_T_MIN INT_MIN
-#endif
-
#ifndef HAVE_PYCAPSULE_NEW
typedef struct {
PyObject_HEAD
--
2.24.1