Skip to content

Commit 0b7414d

Browse files
maxrjonesdstansby
andauthored
Apply suggestions from code review
Co-authored-by: David Stansby <[email protected]>
1 parent 11abad1 commit 0b7414d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/zarr/abc/store.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,11 @@ async def open(cls, *args: Any, **kwargs: Any) -> Self:
8585

8686
def with_read_only(self, read_only: bool = False) -> Store:
8787
"""
88-
Return a new store of the same type pointing to the same location with the specified read_only state.
89-
The returned Store is not automatically opened.
88+
Return a new store with a new read_only setting.
89+
90+
The new store points to the same location with the specified new read_only state.
91+
The returned Store is not automatically opened, and this store is
92+
not automatically closed.
9093
9194
Parameters
9295
----------

0 commit comments

Comments
 (0)