Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 authored Oct 8, 2024
1 parent 1ca125f commit 254ede7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/silx/io/h5py_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ def _hdf5_file_locking(
:param mode: read-only by default
:param locking: by default it is disabled for `mode='r'`
and `swmr=False` and enabled for all other modes.
and `swmr=False` and enabled when supported
for all other modes.
:param swmr: try both modes when `mode='r'` and `swmr=None`
:param libver:
"""
Expand Down Expand Up @@ -361,8 +362,8 @@ def __init__(
:param filename:
:param mode: read-only by default
:param locking: by default it is disabled for `mode='r'`
and `swmr=False` and enabled for all
other modes.
and `swmr=False` and enabled when supported
for all other modes.
:param enable_file_locking: deprecated
:param swmr: try both modes when `mode='r'` and `swmr=None`
:param libver:
Expand Down

0 comments on commit 254ede7

Please sign in to comment.