diff options
author | Stephan Hoyer <shoyer@gmail.com> | 2018-10-26 08:27:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-26 08:27:54 -0700 |
commit | fbc3ad69d2396fc5edbb2f145c82965756185f82 (patch) | |
tree | cccb607a97f06146613946983fc2aa7bf0ddfabf /numpy/core/arrayprint.py | |
parent | 1b8996e9477f38c8ced522c85df9ab9d73fcd339 (diff) | |
parent | 3debe9772ea1b68d997dba3440929a467ad11c52 (diff) | |
download | numpy-fbc3ad69d2396fc5edbb2f145c82965756185f82.tar.gz |
Merge branch 'master' into fix-overloaded-repr
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index 0c45989e1..ccc1468c4 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, @@ -1433,7 +1433,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. @@ -1508,7 +1508,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. |