Skip to content

Commit f039e0a

Browse files
committed
docstring clarification
1 parent 85fe052 commit f039e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/zarr/codecs/sharding.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ async def finalize(
334334

335335

336336
class _ChunkCoordsByteSlice(NamedTuple):
337-
"""Holds a chunk's coordinates and it's byte range in a serialized shard."""
337+
"""Holds a chunk's coordinates and its byte range in a serialized shard."""
338338

339339
coords: ChunkCoords
340340
byte_slice: slice
@@ -765,7 +765,7 @@ async def _load_partial_shard_maybe(
765765
all_chunk_coords: set[ChunkCoords],
766766
) -> ShardMapping | None:
767767
"""
768-
Read bytes from `byte_getter` for the case where the read is less than a full shard.
768+
Read chunks from `byte_getter` for the case where the read is less than a full shard.
769769
Returns a mapping of chunk coordinates to bytes.
770770
"""
771771
shard_index = await self._load_shard_index_maybe(byte_getter, chunks_per_shard)

0 commit comments

Comments
 (0)