Skip to content

Commit 737ff9b

Browse files
committed
Add ValueError to Raises section
1 parent 6f52bfb commit 737ff9b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/zarr/storage/_common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ async def open(cls, store: Store, path: str, mode: AccessModeLiteral | None = No
8989
------
9090
FileExistsError
9191
If the mode is 'w-' and the store path already exists.
92+
ValueError
93+
If the mode is not "r" and the store is read-only, or
9294
"""
9395

9496
# fastpath if mode is None

0 commit comments

Comments
 (0)