Skip to content

Commit 4bac0ec

Browse files
committed
minor doco edits
1 parent 0ef7595 commit 4bac0ec

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/spec/v1.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Zarr storage specification version 1
22
====================================
33

4-
This document provides a technical specification of the format used
5-
for storing a Zarr array. The key words "MUST", "MUST NOT",
6-
"REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT",
4+
This document provides a technical specification of the protocol and
5+
format used for storing a Zarr array. The key words "MUST", "MUST
6+
NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT",
77
"RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be
88
interpreted as described in `RFC 2119
99
<https://www.ietf.org/rfc/rfc2119.txt>`_.
@@ -185,8 +185,8 @@ Initialize the store::
185185
... dtype='i4', fill_value=42, compression='zlib',
186186
... compression_opts=1, overwrite=True)
187187

188-
No chunks are initialized yet, so only the 'meta' and 'attrs' keys are
189-
present::
188+
No chunks are initialized yet, so only the 'meta' and 'attrs' keys
189+
have been set::
190190

191191
>>> import os
192192
>>> sorted(os.listdir('example.zarr'))

zarr/compressors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ class NoCompressor(object):
330330
--------
331331
>>> import zarr
332332
>>> z = zarr.zeros((10000, 10000), chunks=(1000, 1000), dtype='i4',
333-
... compression=None)
333+
... compression='none')
334334
335335
"""
336336

zarr/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def init_store(store, shape, chunks, dtype=None, compression='default',
112112

113113
class DirectoryStore(MutableMapping):
114114
"""Mutable Mapping interface to a directory. Keys must be strings,
115-
values must be bytes.
115+
values must be bytes-like objects.
116116
117117
Parameters
118118
----------

0 commit comments

Comments
 (0)