diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2017-12-10 17:26:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-10 17:26:13 -0700 |
| commit | bbe92a4820eb3eba7235a9ffbd44605032981f42 (patch) | |
| tree | 8a1aae96fce54f1d812c467e991b20641a6bc1d3 /numpy/ma/core.py | |
| parent | 7b0252c1a49ad8627bb58eb8095541e19aea5239 (diff) | |
| parent | 8671dc0dd968d33d99ad1a9c6ce7a29e84dff953 (diff) | |
| download | numpy-bbe92a4820eb3eba7235a9ffbd44605032981f42.tar.gz | |
Merge pull request #10196 from eric-wieser/ma-pickle-regression
BUG: Fix regression in np.ma.load in gh-10055
Diffstat (limited to 'numpy/ma/core.py')
| -rw-r--r-- | numpy/ma/core.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/ma/core.py b/numpy/ma/core.py index 407869362..9f439a634 100644 --- a/numpy/ma/core.py +++ b/numpy/ma/core.py @@ -7918,9 +7918,9 @@ def load(F): """ if not hasattr(F, 'readline'): with open(F, 'r') as F: - pickle.load(F) + return pickle.load(F) else: - pickle.load(F) + return pickle.load(F) def loads(strg): |
