Fixed undefined symbol on python3.2

This commit is contained in:
rickey 2011-07-08 15:30:51 -04:00
parent 4aadc2fc2e
commit cf3c29dfcc
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@
#if PY_MAJOR_VERSION >= 3
#define IS_PYTHON3
#define PyString_AsStringAndSize PyBytes_AsStringAndSize
#define PyString_Check PyBytes_Check
#endif
typedef struct {