summaryrefslogtreecommitdiff
path: root/numpy/core/src/arraymethods.c
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-09-13 23:55:37 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-09-13 23:55:37 +0000
commitaa27298288961201372528c1391bc73348f4efb8 (patch)
tree1517bbf4a1edcc8bfec6ddb4ae20c637177f5c72 /numpy/core/src/arraymethods.c
parent795e498cd628ceb407d03c171d8659917d71f893 (diff)
downloadnumpy-aa27298288961201372528c1391bc73348f4efb8.tar.gz
Fix random.poisson(0) to return 0 (#229)
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r--numpy/core/src/arraymethods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c
index 25da318ea..366e07966 100644
--- a/numpy/core/src/arraymethods.c
+++ b/numpy/core/src/arraymethods.c
@@ -543,7 +543,7 @@ array_setscalar(PyArrayObject *self, PyObject *args) {
if (n < 0) {
PyErr_SetString(PyExc_ValueError,
- "setitem must have at least one argument");
+ "itemset must have at least one argument");
return NULL;
}
obj = PyTuple_GET_ITEM(args, n);