mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
array_type -> ArrayType
This commit is contained in:
parent
290283bb39
commit
24995b99e1
1 changed files with 2 additions and 2 deletions
|
@ -1318,7 +1318,7 @@ initarray()
|
|||
PyObject *m, *d;
|
||||
m = Py_InitModule("array", a_methods);
|
||||
d = PyModule_GetDict(m);
|
||||
if (PyDict_SetItemString(d, "array_type",
|
||||
if (PyDict_SetItemString(d, "ArrayType",
|
||||
(PyObject *)&Arraytype) != 0)
|
||||
Py_FatalError("can't define array.array_type");
|
||||
Py_FatalError("can't define array.ArrayType");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue