summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-06-02 22:17:49 (GMT)
committerGuido van Rossum <guido@python.org>1997-06-02 22:17:49 (GMT)
commit24995b99e1131cfb747e535a69440e56e6b7393f (patch)
tree03d53b6c64f50bd92cb540fd1ea49cc15c1b285e /Modules/arraymodule.c
parent290283bb391facd7e86df0c9829160c8f55f0b1b (diff)
downloadcpython-24995b99e1131cfb747e535a69440e56e6b7393f.zip
cpython-24995b99e1131cfb747e535a69440e56e6b7393f.tar.gz
cpython-24995b99e1131cfb747e535a69440e56e6b7393f.tar.bz2
array_type -> ArrayType
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 97af9ac..debd594 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");
}