summaryrefslogtreecommitdiff
path: root/numpy/random/mtrand/mtrand.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/random/mtrand/mtrand.pyx')
-rw-r--r--numpy/random/mtrand/mtrand.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index b8de228cd..ec759fdfb 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -1122,7 +1122,7 @@ cdef class RandomState:
else:
pop_size = a.shape[0]
if pop_size is 0 and np.prod(size) != 0:
- raise ValueError("a cannot be empty unless no samples are taken")
+ raise ValueError("'a' cannot be empty unless no samples are taken")
if p is not None:
d = len(p)