Skip to content

Commit 367c409

Browse files
committed
Fix buffer type check
1 parent 81b3a07 commit 367c409

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

numcodecs/checksum32.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class Checksum32(Codec):
1616
# override in sub-class
17-
checksum: Optional[Callable[[Buffer, int], int]] = None
17+
checksum: Optional[Callable[["Buffer", int], int]] = None
1818

1919
def encode(self, buf):
2020
arr = ensure_contiguous_ndarray(buf).view('u1')

0 commit comments

Comments
 (0)