Skip to content

Commit b511085

Browse files
committed
Add better deprecation method for zarr.creation
1 parent 1ac02ea commit b511085

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/zarr/creation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
]
3232

3333
warnings.warn(
34-
"zarr.creation is deprecated, use zarr.api.synchronous",
34+
"zarr.creation is deprecated. "
35+
"Import these functions from the top level zarr. namespace instead.",
3536
DeprecationWarning,
3637
stacklevel=2,
3738
)

0 commit comments

Comments
 (0)