From 593daf545bd9b7e7bcb27b498ecc6f36db9ae395 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 26 May 2008 12:51:38 +0000 Subject: Renamed PyString to PyBytes --- Include/pyerrors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/pyerrors.h') diff --git a/Include/pyerrors.h b/Include/pyerrors.h index a4233c9748..cdc9b76ec5 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -104,7 +104,7 @@ PyAPI_FUNC(void) PyErr_NormalizeException(PyObject**, PyObject**, PyObject**); #define PyExceptionClass_Name(x) \ (PyClass_Check((x)) \ - ? PyString_AS_STRING(((PyClassObject*)(x))->cl_name) \ + ? PyBytes_AS_STRING(((PyClassObject*)(x))->cl_name) \ : (char *)(((PyTypeObject*)(x))->tp_name)) #define PyExceptionInstance_Class(x) \ -- cgit v1.2.1