From 0fb33ee54975ca8105aa72524aa34a4114c48a60 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Wed, 25 Oct 2017 13:22:34 -0600 Subject: MAINT: Make private helper function non-public instead. --- numpy/ma/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/ma/core.py') 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): """ -- cgit v1.2.1