diff options
Diffstat (limited to 'numpy')
-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): |