Skip to content

Commit ded59d9

Browse files
MosGeomosgeo
andauthored
add missing quote symbol in the dictionary syntax (#3231)
Co-authored-by: mosgeo <mustafa.geoscientist@outlook.com>
1 parent dc75ab5 commit ded59d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/core/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def _warn_write_empty_chunks_kwarg() -> None:
195195
msg = (
196196
"The `write_empty_chunks` keyword argument is deprecated and will be removed in future versions. "
197197
"To control whether empty chunks are written to storage, either use the `config` keyword "
198-
"argument, as in `config={'write_empty_chunks: True}`,"
198+
"argument, as in `config={'write_empty_chunks': True}`,"
199199
"or change the global 'array.write_empty_chunks' configuration variable."
200200
)
201201
warnings.warn(msg, RuntimeWarning, stacklevel=2)
@@ -206,7 +206,7 @@ def _warn_order_kwarg() -> None:
206206
msg = (
207207
"The `order` keyword argument has no effect for Zarr format 3 arrays. "
208208
"To control the memory layout of the array, either use the `config` keyword "
209-
"argument, as in `config={'order: 'C'}`,"
209+
"argument, as in `config={'order': 'C'}`,"
210210
"or change the global 'array.order' configuration variable."
211211
)
212212
warnings.warn(msg, RuntimeWarning, stacklevel=2)

0 commit comments

Comments
 (0)