Commit 46336dfb authored by payno's avatar payno
Browse files

[io][HDF5File] remove `r+` mode from the valid mode

parent 6e7f7f72
Pipeline #31847 passed with stages
in 2 minutes and 33 seconds
......@@ -56,7 +56,7 @@ class HDF5File(h5py.File):
:param bool swmr: when not specified: try both modes when `mode=='r'`
:param **kwargs: see `h5py.File.__init__`
"""
if mode not in ('r', 'r+', 'w', 'w-', 'x', 'a'):
if mode not in ('r', 'w', 'w-', 'x', 'a'):
raise ValueError('invalid mode {}'.format(mode))
with self._protect_init(filename):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment