summaryrefslogtreecommitdiff
path: root/numpy/ma/core.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-12-13 11:32:42 -0700
committerGitHub <noreply@github.com>2017-12-13 11:32:42 -0700
commitd233e1f4c176de8b1bf1365aac48caa10610a402 (patch)
tree0f1f8aa96cb768c14e3b20ef4f1b3749a72edd74 /numpy/ma/core.py
parentd407f24cb5ad85850a60b1be3dade3305ea30c98 (diff)
parent3096c505990c972fa505f843e5420f6f02744400 (diff)
downloadnumpy-d233e1f4c176de8b1bf1365aac48caa10610a402.tar.gz
Merge pull request #10216 from eric-wieser/deprecate-pickle-aliases
BUG: Fix broken format string picked up by LGTM.com
Diffstat (limited to 'numpy/ma/core.py')
-rw-r--r--numpy/ma/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py
index dad675600..db8bc7d53 100644
--- a/numpy/ma/core.py
+++ b/numpy/ma/core.py
@@ -7864,7 +7864,7 @@ def _pickle_warn(method):
# NumPy 1.15.0, 2017-12-10
warnings.warn(
"np.ma.{method} is deprecated, use pickle.{method} instead"
- .format(method),
+ .format(method=method),
DeprecationWarning,
stacklevel=3)