diff Objects/stringlib/string_format.h @ 47301:23ab586c427a

Renamed PyString to PyBytes
author Christian Heimes <christian@cheimes.de>
date Mon, 26 May 2008 13:28:38 +0000
parents 3d9ad27d930b
children c04aa4aabe17
line wrap: on
line diff
--- a/Objects/stringlib/string_format.h	Mon May 26 13:22:05 2008 +0000
+++ b/Objects/stringlib/string_format.h	Mon May 26 13:28:38 2008 +0000
@@ -496,7 +496,7 @@
 #if PY_VERSION_HEX >= 0x03000000
     assert(PyUnicode_Check(result));
 #else
-    assert(PyString_Check(result) || PyUnicode_Check(result));
+    assert(PyBytes_Check(result) || PyUnicode_Check(result));
 
     /* Convert result to our type.  We could be str, and result could
        be unicode */