Skip to content
Snippets Groups Projects

Allow `key in hdf5file` syntax in python

Merged Amir MOHAMMADI requested to merge in into master
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
33 33 def __exit__(self, type, value, traceback):
34 34 self.close()
35 35
36 def __contains__(self, x):
37 """Since .has_key() is deprecated, implement the ``in`` operator to avoid
38 PEP8 W601.
39 """
40 return self.has_key(x)
41
  • Amir MOHAMMADI enabled an automatic merge when the pipeline for c0a901f7 succeeds

    enabled an automatic merge when the pipeline for c0a901f7 succeeds

  • Amir MOHAMMADI mentioned in commit f6819faf

    mentioned in commit f6819faf

  • Please register or sign in to reply
    Loading