diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2009-06-03 02:24:29 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2009-06-03 02:24:29 +0000 |
commit | a6d3b8770ca9684ed342e7a4cf7d7af96a2bae1d (patch) | |
tree | 122397f8559c64b7f6c6e5acb4c75fb0645c2ff2 /numpy/lib/src/_compiled_base.c | |
parent | 805a2adce9cd6fce44474b3bff8a2566cc2268a5 (diff) | |
download | numpy-a6d3b8770ca9684ed342e7a4cf7d7af96a2bae1d.tar.gz |
Remove unused reference to MultiArrayError.
Diffstat (limited to 'numpy/lib/src/_compiled_base.c')
-rw-r--r-- | numpy/lib/src/_compiled_base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c index b2f2817d9..16b30608b 100644 --- a/numpy/lib/src/_compiled_base.c +++ b/numpy/lib/src/_compiled_base.c @@ -920,7 +920,6 @@ define_types(void) /* Initialization function for the module (*must* be called init<name>) */ PyMODINIT_FUNC init_compiled_base(void) { - PyObject *err = PyString_FromString("numpy.lib.error"); PyObject *m, *d, *s; /* Create the module and add the functions */ @@ -937,8 +936,9 @@ PyMODINIT_FUNC init_compiled_base(void) { Py_DECREF(s); /* Fixme; We might want to remove this error string from the dictionary */ - PyDict_SetItemString(d, "error", err); - Py_DECREF(err); + s = PyString_FromString("numpy.lib.error"); + PyDict_SetItemString(d, "error", s); + Py_DECREF(s); /* define PyGetSetDescr_Type and PyMemberDescr_Type */ |