From: Guido van Rossum Date: Mon, 2 Jun 1997 22:17:49 +0000 (+0000) Subject: array_type -> ArrayType X-Git-Tag: v1.5a3~382 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24995b99e1131cfb747e535a69440e56e6b7393f;p=python array_type -> ArrayType --- diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 97af9ac5b6..debd59418f 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -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"); }