summaryrefslogtreecommitdiff
path: root/numpy/doc/basics.py
diff options
context:
space:
mode:
authorKai Striega <kaistriega@gmail.com>2019-03-19 15:37:18 +0800
committerGitHub <noreply@github.com>2019-03-19 15:37:18 +0800
commit9006a1d35fb1a1ebcdbcd0852f6086a73f7a5961 (patch)
treefff3b9b8a53970566b13e73c08c1eda0882db06f /numpy/doc/basics.py
parent41e14f938587f95c2c0091c05b850bbd5b86354b (diff)
downloadnumpy-9006a1d35fb1a1ebcdbcd0852f6086a73f7a5961.tar.gz
DOC: Minor fix in Integer Overflow doc
Change `np.power` -> `numpy.power` to make it reference the function's documentation
Diffstat (limited to 'numpy/doc/basics.py')
-rw-r--r--numpy/doc/basics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/doc/basics.py b/numpy/doc/basics.py
index 8f9044a0a..61f5bf4ef 100644
--- a/numpy/doc/basics.py
+++ b/numpy/doc/basics.py
@@ -264,9 +264,9 @@ Overflow Errors
===============
The fixed size of NumPy numeric types may cause overflow errors when a value
-requires more memory than available in the data type. For example, `np.power`
-evaluates ``100 * 10 ** 8`` correctly for 64-bit integers, but gives
-1874919424 (incorrect) for a 32-bit integer.
+requires more memory than available in the data type. For example,
+`numpy.power` evaluates ``100 * 10 ** 8`` correctly for 64-bit integers,
+but gives 1874919424 (incorrect) for a 32-bit integer.
>>> np.power(100, 8, dtype=np.int64)
10000000000000000