Update py3.h

This commit is contained in:
Christoph Gohlke 2013-03-13 19:34:43 -07:00
parent a6f7b8acb1
commit d71cda4f09

3
py3.h
View File

@ -43,12 +43,13 @@
#endif
/* Map PyBytes -> PyString */
#define PyBytesObject PyStringObject
#define PyBytes_AsString PyString_AsString
#define PyBytes_AS_STRING PyString_AS_STRING
#define PyBytes_Check PyString_Check
#define PyBytes_AsStringAndSize PyString_AsStringAndSize
#define PyBytes_FromStringAndSize PyString_FromStringAndSize
#define PyBytes_FromString PyString_FromString
#define _PyBytes_Resize _PyString_Resize
#endif /* PY_VERSION_HEX < 0x03000000 */