summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-05-26 12:29:14 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-05-26 12:29:14 (GMT)
commit3497f9447633b0a60a0b42ba06f2246805b20bb9 (patch)
treeadbb433e1bbe57b2fa11c6810eb962b75f663db6 /Objects/object.c
parentb4701e638c1030e575adf441aab01ad6319cc83d (diff)
downloadcpython-3497f9447633b0a60a0b42ba06f2246805b20bb9.zip
cpython-3497f9447633b0a60a0b42ba06f2246805b20bb9.tar.gz
cpython-3497f9447633b0a60a0b42ba06f2246805b20bb9.tar.bz2
First step of the C API rename:
renamed Include/bytesobject.h to Include/bytearrayobject.h renamed Include/stringobject.h to Include/bytesobject.h added Include/stringobject.h with aliases
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index f77f552..ccb5ab7 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -1986,7 +1986,7 @@ _Py_ReadyTypes(void)
if (PyType_Ready(&PyString_Type) < 0)
Py_FatalError("Can't initialize 'str'");
- if (PyType_Ready(&PyBytes_Type) < 0)
+ if (PyType_Ready(&PyByteArray_Type) < 0)
Py_FatalError("Can't initialize 'bytes'");
if (PyType_Ready(&PyList_Type) < 0)