mirror of
https://github.com/python/cpython.git
synced 2026-05-19 02:44:16 -04:00
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
This commit is contained in:
+2
-2
@@ -169,7 +169,7 @@ Py_InitializeEx(int install_sigs)
|
||||
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 @@ Py_Finalize(void)
|
||||
PyList_Fini();
|
||||
PySet_Fini();
|
||||
PyString_Fini();
|
||||
PyBytes_Fini();
|
||||
PyByteArray_Fini();
|
||||
PyInt_Fini();
|
||||
PyFloat_Fini();
|
||||
PyDict_Fini();
|
||||
|
||||
Reference in New Issue
Block a user