Skip to content

Commit 3e4ee75

Browse files
committed
more py39 issues
1 parent 6ed580f commit 3e4ee75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

probables/hashes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def hashing_func(key, depth=1):
4141
return hashing_func
4242

4343

44-
def hash_with_depth_int(func: HashFuncT | SimpleHashT) -> HashFuncT:
44+
def hash_with_depth_int(func: Union[HashFuncT, SimpleHashT]) -> HashFuncT:
4545
"""Decorator to turn a function that takes a single key and hashes it to
4646
an int. Wraps functions to be used in Bloom filters and Count-Min
4747
sketch data structures.

0 commit comments

Comments
 (0)