/* Strings */
-#define PyStr_Type PyUnicode_Type
-#define PyStr_Check PyUnicode_Check
-#define PyStr_FromString PyUnicode_FromString
#define PyStr_FromStringAndSize PyUnicode_FromStringAndSize
#define PyStr_FromFormat PyUnicode_FromFormat
#define PyStr_FromFormatV PyUnicode_FromFormatV
#define IsPy3Bytes PyBytes_Check
#define IsPy3BytesOrString(pystr) \
- (PyStr_Check(pystr) || PyBytes_Check(pystr))
+ (PyUnicode_Check(pystr) || PyBytes_Check(pystr))
/* Ints */
#define PyInt_Check PyLong_Check
#define PyInt_FromLong PyLong_FromLong
#define PyInt_AsLong PyLong_AsLong
-#define PyInt_AS_LONG PyLong_AS_LONG
-#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
-#define PyInt_AsSsize_t PyLong_AsSsize_t
/* Module init */