diff options
-rw-r--r-- | numpy/core/setup.py | 2 | ||||
-rw-r--r-- | numpy/core/src/arrayobject.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 3a7df8f63..2cd3afdd4 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -42,7 +42,7 @@ def configuration(parent_package='',top_path=None): # ufunc code. NPY_ALLOW_C_API and friends # cause the segfault. So, we disable threading # for now. - if sys.version[:3] < '2.4': + if sys.version[:5] < '2.4.2': nosmp = 1 else: # Perhaps a fancier check is in order here. diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index b9e954560..08730b296 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -10461,7 +10461,7 @@ arraydescr_new(PyTypeObject *subtype, PyObject *args, PyObject *kwds) Py_XDECREF(value); Py_XDECREF(traceback); PyErr_SetString(PyExc_ValueError, - "alignment cannot be True" \ + "align cannot be True" \ " with array_descriptor " \ "specification."); } |