Skip to content

Commit 762cdf3

Browse files
committed
Fix buffer type check
1 parent 6c5541c commit 762cdf3

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
@@ -15,7 +15,7 @@
1515

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

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

0 commit comments

Comments
 (0)