summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorValentin Haenel <vhaenel@anaconda.com>2019-03-30 21:40:57 +0100
committerValentin Haenel <vhaenel@anaconda.com>2019-03-30 22:07:28 +0100
commit46852796a13ac1ecc35b6312b73e885fb7517879 (patch)
tree0e4124f0e1508d23cb63045479b3e16a2c4c3e85 /numpy/core/numeric.py
parentdb5fcc8e5834a5f36a1043da898f76562d5475ae (diff)
downloadnumpy-46852796a13ac1ecc35b6312b73e885fb7517879.tar.gz
ENH: Improve error message for np.repeat
`np.repeat` can take an array of numbers as value for it's `repeat` argument. The error message if one of these is negative is `count < 0`. The first time I encountered this, I did not understand the error since this message is somewhat cryptic and uninformtiave. Replace it by something better and more explicit.
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions