summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-10-25 13:22:34 -0600
committerGitHub <noreply@github.com>2017-10-25 13:22:34 -0600
commit0fb33ee54975ca8105aa72524aa34a4114c48a60 (patch)
tree893f2daf12689aa18c2647ed303b1206faa1eb0b /numpy
parent6b41ba8623acc94aeb5e7fa5e8f8998e8630aabe (diff)
downloadnumpy-0fb33ee54975ca8105aa72524aa34a4114c48a60.tar.gz
MAINT: Make private helper function non-public instead.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ma/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index 88ecfddc2..605f37a02 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -3833,7 +3833,7 @@ class MaskedArray(ndarray):
_new._mask = _mask.compress(condition, axis=axis)
return _new
- def __insert_masked_print(self):
+ def _insert_masked_print(self):
"""
Replace masked values with masked_print_option, casting all innermost
dtypes to object.
@@ -3865,7 +3865,7 @@ class MaskedArray(ndarray):
return res
def __str__(self):
- return str(self.__insert_masked_print())
+ return str(self._insert_masked_print())
def __repr__(self):
"""