Skip to content

Commit 500bc7b

Browse files
committed
correct attribute links in docstring
1 parent 083c4cb commit 500bc7b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/zarr/core/array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ async def create(
430430
V3 only. V2 arrays should not use this parameter.
431431
chunks : ShapeLike, optional
432432
The shape of the array's chunks.
433-
V2 only. V3 arrays should use :func:`chunk_shape` instead.
433+
V2 only. V3 arrays should use :attr:`chunk_shape` instead.
434434
If not specified, default are guessed based on the shape and dtype.
435435
dimension_separator : Literal[".", "/"], optional
436436
The dimension separator (default is ".").
@@ -1522,7 +1522,7 @@ def create(
15221522
V3 only. V2 arrays should not use this parameter.
15231523
chunks : ChunkCoords, optional
15241524
The shape of the array's chunks.
1525-
V2 only. V3 arrays should use :func:`chunk_shape` instead.
1525+
V2 only. V3 arrays should use :attr:`chunk_shape` instead.
15261526
If not specified, default are guessed based on the shape and dtype.
15271527
dimension_separator : Literal[".", "/"], optional
15281528
The dimension separator (default is ".").

src/zarr/core/group.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ async def create_array(
10541054
The names of the dimensions of the array. V3 only.
10551055
chunks : ChunkCoords | None = None
10561056
The shape of the chunks of the array.
1057-
V2 only. V3 arrays should use :func:`chunk_shape` instead.
1057+
V2 only. V3 arrays should use :attr:`chunk_shape` instead.
10581058
If not specified, default are guessed based on the shape and dtype.
10591059
dimension_separator : Literal[".", "/"] | None = None
10601060
The delimiter used for the chunk keys. (default: ".")
@@ -2275,7 +2275,7 @@ def create_array(
22752275
The names of the dimensions of the array. V3 only.
22762276
chunks : ChunkCoords | None = None
22772277
The shape of the chunks of the array.
2278-
V2 only. V3 arrays should use :func:`chunk_shape` instead.
2278+
V2 only. V3 arrays should use :attr:`chunk_shape` instead.
22792279
If not specified, default are guessed based on the shape and dtype.
22802280
dimension_separator : Literal[".", "/"] | None = None
22812281
The delimiter used for the chunk keys. (default: ".")
@@ -2639,7 +2639,7 @@ def array(
26392639
The names of the dimensions of the array. V3 only.
26402640
chunks : ChunkCoords | None = None
26412641
The shape of the chunks of the array.
2642-
V2 only. V3 arrays should use :func:`chunk_shape` instead.
2642+
V2 only. V3 arrays should use :attr:`chunk_shape` instead.
26432643
If not specified, default are guessed based on the shape and dtype.
26442644
dimension_separator : Literal[".", "/"] | None = None
26452645
The delimiter used for the chunk keys. (default: ".")

0 commit comments

Comments
 (0)