fixed python 3.1

This commit is contained in:
roberto@debian32
2011-05-21 08:03:22 +02:00
parent 1b859413de
commit 622ed620b9
+4
View File
@@ -22,6 +22,10 @@
#define HAS_NOT_PyFrame_GetLineNumber
#endif
#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 2
#define HAS_NOT_PyFrame_GetLineNumber
#endif
#if PY_MAJOR_VERSION > 2
#define PYTHREE
#endif