summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2020-05-14 14:03:05 -0400
committerWarren Weckesser <warren.weckesser@gmail.com>2020-05-15 01:42:05 -0400
commit533eb93aed5e42b29041bbbfadc5cd57745757fc (patch)
treebec219ed62219937a279686331e0cd0839b30da0 /numpy/polynomial/polyutils.py
parent59e8fc601bf38c94bf1ee0a7153a7ee385133e4b (diff)
downloadnumpy-533eb93aed5e42b29041bbbfadc5cd57745757fc.tar.gz
DOC: Warn about behavior of ptp with signed integers.
* Add a warning to the docstrings of numpy.ma.MaskedArray.ptp and numpy.ptp about a problem with signed integer arrays. * Add an example to the the docstring of numpy.ptp that demonstrates the issue and suggests a work-around. * Add an "Examples" section to the docstring of MaskedArray.ptp which includes the new example added to the docstring of numpy.ptp. * Make the numbers in the basic example more interesting.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions