summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorStephan Hoyer <shoyer@gmail.com>2018-10-25 12:46:24 -0700
committerGitHub <noreply@github.com>2018-10-25 12:46:24 -0700
commit2dfb68ef3de5d6fcb9451462d38352f411f055c0 (patch)
treea80dd8a65b6f796e7e00b678071e37d3bc8e293c /numpy/core/arrayprint.py
parentea7ff5fd7a3300a1d1c68c3f8d773f9ce4f17ca4 (diff)
parent872372bd56ccb5fe98faae8be7d14e4a8c69e037 (diff)
downloadnumpy-2dfb68ef3de5d6fcb9451462d38352f411f055c0.tar.gz
Merge branch 'master' into einsum-dispatch
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index 1b9fbbfa9..3201b2f78 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -506,7 +506,7 @@ def _array2string_dispatcher(
return (a,)
-@array_function_dispatch(_array2string_dispatcher)
+@array_function_dispatch(_array2string_dispatcher, module='numpy')
def array2string(a, max_line_width=None, precision=None,
suppress_small=None, separator=' ', prefix="",
style=np._NoValue, formatter=None, threshold=None,
@@ -1386,7 +1386,7 @@ def _array_repr_dispatcher(
return (arr,)
-@array_function_dispatch(_array_repr_dispatcher)
+@array_function_dispatch(_array_repr_dispatcher, module='numpy')
def array_repr(arr, max_line_width=None, precision=None, suppress_small=None):
"""
Return the string representation of an array.
@@ -1480,7 +1480,7 @@ def _array_str_dispatcher(
return (a,)
-@array_function_dispatch(_array_str_dispatcher)
+@array_function_dispatch(_array_str_dispatcher, module='numpy')
def array_str(a, max_line_width=None, precision=None, suppress_small=None):
"""
Return a string representation of the data in an array.