Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Merge requests
!17
Add `__iter__` method to the HDF5File class
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Add `__iter__` method to the HDF5File class
iterable
into
master
Overview
1
Commits
2
Pipelines
1
Changes
4
1 open thread
Hide all comments
Merged
Add `__iter__` method to the HDF5File class
Amir MOHAMMADI
requested to merge
iterable
into
master
May 27, 2017
Overview
1
Commits
2
Pipelines
1
Changes
4
1 open thread
Hide all comments
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
f0116b78
2 commits,
May 27, 2017
4 files
+
29
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
bob/io/base/__init__.py
+
3
−
0
View file @ f0116b78
Edit in single-file editor
Open in Web IDE
Hide comments on this file
Show full file
@@ -39,6 +39,9 @@ class HDF5File(HDF5File_C):
"""
return
self
.
has_key
(
x
)
def
__iter__
(
self
):
return
iter
(
self
.
keys
())
Amir MOHAMMADI
@amohammadi
May 27, 2017
Author
Owner
This has no memory or speed efficiency but at least provides a Pythonic interface to it.
Please
register
or
sign in
to reply
def
_is_string
(
s
):
"""
Returns ``True`` if the given object is a string
Loading
This has no memory or speed efficiency but at least provides a Pythonic interface to it.