summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorEugene Prilepin <esp.home@gmail.com>2019-09-05 12:23:45 +0300
committerEugene Prilepin <esp.home@gmail.com>2019-09-05 12:23:45 +0300
commit112ce58723a37bb6ebca34cae42476e96bb8eede (patch)
treef5914020b5596d89962a0c08551edbb291f73977 /numpy/core/arrayprint.py
parent6bdbc1e2fd20df7272802df88f3790e5dd7ed057 (diff)
downloadnumpy-112ce58723a37bb6ebca34cae42476e96bb8eede.tar.gz
DOC: add the reference to 'printoptions'
We add the reference to 'printoptions' context manager in "See Also" section in 'set_printoptions' and 'get_printoptions' functions. These changes improve the documentation and make it easy to search.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r--numpy/core/arrayprint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py
index 5761c4875..b1310a737 100644
--- a/numpy/core/arrayprint.py
+++ b/numpy/core/arrayprint.py
@@ -194,7 +194,7 @@ def set_printoptions(precision=None, threshold=None, edgeitems=None,
See Also
--------
- get_printoptions, set_string_function, array2string
+ get_printoptions, printoptions, set_string_function, array2string
Notes
-----
@@ -285,7 +285,7 @@ def get_printoptions():
See Also
--------
- set_printoptions, set_string_function
+ set_printoptions, printoptions, set_string_function
"""
return _format_options.copy()