Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae266b commit 09b05c0Copy full SHA for 09b05c0
h5py/_hl/base.py
@@ -307,6 +307,9 @@ def __getnewargs__(self):
307
"""
308
raise TypeError("h5py objects cannot be pickled")
309
310
+ def __getstate__(self):
311
+ # Pickle protocols 0 and 1 use this instead of __getnewargs__
312
+ raise TypeError("h5py objects cannot be pickled")
313
314
# --- Dictionary-style interface ----------------------------------------------
315
0 commit comments