diff Python/pythonrun.c @ 47291:04bd3690fb1f legacy-trunk

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
author Christian Heimes <christian@cheimes.de>
date Mon, 26 May 2008 12:29:14 +0000
parents 1fdfb29f4fb8
children 4fe192d48960
line wrap: on
line diff
--- a/Python/pythonrun.c	Mon May 26 11:42:40 2008 +0000
+++ b/Python/pythonrun.c	Mon May 26 12:29:14 2008 +0000
@@ -169,7 +169,7 @@
 	if (!_PyInt_Init())
 		Py_FatalError("Py_Initialize: can't init ints");
 
-	if (!PyBytes_Init())
+	if (!PyByteArray_Init())
 		Py_FatalError("Py_Initialize: can't init bytearray");
 
 	_PyFloat_Init();
@@ -451,7 +451,7 @@
 	PyList_Fini();
 	PySet_Fini();
 	PyString_Fini();
-	PyBytes_Fini();
+	PyByteArray_Fini();
 	PyInt_Fini();
 	PyFloat_Fini();
 	PyDict_Fini();