Skip to content
Snippets Groups Projects

Add `__iter__` method to the HDF5File class

1 open thread
4 files
+ 29
4
Compare changes
  • Side-by-side
  • Inline

Files

+ 3
0
@@ -39,6 +39,9 @@ class HDF5File(HDF5File_C):
"""
return self.has_key(x)
def __iter__(self):
return iter(self.keys())
Please register or sign in to reply
def _is_string(s):
"""Returns ``True`` if the given object is a string
Loading