array_type -> ArrayType

This commit is contained in:
Guido van Rossum 1997-06-02 22:17:49 +00:00
parent 290283bb39
commit 24995b99e1

View file

@ -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");
}