Skip to content

Commit 7523fc6

Browse files
Cyclic import (numcodecs → numcodecs.pcodec) (#632)
1 parent 169517e commit 7523fc6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

numcodecs/pcodec.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import Literal, Optional
22

3-
import numcodecs
4-
import numcodecs.abc
3+
from numcodecs.abc import Codec
54
from numcodecs.compat import ensure_contiguous_ndarray
65

76
try:
@@ -13,7 +12,7 @@
1312
DEFAULT_MAX_PAGE_N = 262144
1413

1514

16-
class PCodec(numcodecs.abc.Codec):
15+
class PCodec(Codec):
1716
"""
1817
PCodec (or pco, pronounced "pico") losslessly compresses and decompresses
1918
numerical sequences with high compression ratio and fast speed.

0 commit comments

Comments
 (0)