diff --git a/src/silx/io/h5py_utils.py b/src/silx/io/h5py_utils.py index f472294545..b6f937a16b 100644 --- a/src/silx/io/h5py_utils.py +++ b/src/silx/io/h5py_utils.py @@ -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: """ @@ -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: