commit | 593daf545bd9b7e7bcb27b498ecc6f36db9ae395 | [log] [tgz] |
---|---|---|
author | Christian Heimes <christian@cheimes.de> | Mon May 26 12:51:38 2008 +0000 |
committer | Christian Heimes <christian@cheimes.de> | Mon May 26 12:51:38 2008 +0000 |
tree | c0a57029b9ab0eb18a2bb4f8fd65f0817f1a1707 | |
parent | c3cb683d638e9d660c18a05293a576f98965166e [diff] [blame] |
Renamed PyString to PyBytes
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index a4233c9..cdc9b76 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h
@@ -104,7 +104,7 @@ #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) \