Skip to content

Commit 7212d26

Browse files
authored
Close quote typo fix (#1083)
* close quote typo fixes * add to release notes
1 parent 202aeb6 commit 7212d26

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

docs/release.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ Release notes
66
# to document your changes. On releases it will be
77
# re-indented so that it does not show up in the notes.
88
9-
.. _unreleased:
9+
.. _unreleased:
10+
11+
Unreleased
12+
----------
13+
14+
Documentation
15+
~~~~~~~~~~~~~
16+
17+
* Typo fixes to close quotes. By :user:`Pavithra Eswaramoorthy <pavithraes>`
1018

11-
Unreleased
12-
----------
1319

1420
.. _release_2.12.0:
1521

docs/tutorial.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,15 +1404,15 @@ access patterns and incur a substantial performance hit when using
14041404
file based stores. One of the most pathological examples is
14051405
switching from column-based chunking to row-based chunking e.g. ::
14061406

1407-
>>> a = zarr.zeros((10000,10000), chunks=(10000, 1), dtype='uint16, store='a.zarr')
1407+
>>> a = zarr.zeros((10000,10000), chunks=(10000, 1), dtype='uint16', store='a.zarr')
14081408
>>> b = zarr.array(a, chunks=(1,10000), store='b.zarr')
14091409

14101410
which will require every chunk in the input data set to be repeatedly read when creating
14111411
each output chunk. If the entire array will fit within memory, this is simply resolved
14121412
by forcing the entire input array into memory as a numpy array before converting
14131413
back to zarr with the desired chunking. ::
14141414

1415-
>>> a = zarr.zeros((10000,10000), chunks=(10000, 1), dtype='uint16, store='a.zarr')
1415+
>>> a = zarr.zeros((10000,10000), chunks=(10000, 1), dtype='uint16', store='a.zarr')
14161416
>>> b = a[...]
14171417
>>> c = zarr.array(b, chunks=(1,10000), store='c.zarr')
14181418

0 commit comments

Comments
 (0)