We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21d9dc7 commit 943da8dCopy full SHA for 943da8d
src/zarr/core/buffer/cpu.py
@@ -154,8 +154,9 @@ def create(
154
order: Literal["C", "F"] = "C",
155
fill_value: Any | None = None,
156
) -> Self:
157
- ret = cls(np.full(shape=tuple(shape), fill_value=fill_value or 0, dtype=dtype, order=order))
158
- return ret
+ return cls(
+ np.full(shape=tuple(shape), fill_value=fill_value or 0, dtype=dtype, order=order)
159
+ )
160
161
@classmethod
162
def from_numpy_array(cls, array_like: npt.ArrayLike) -> Self:
0 commit comments