mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 00:24:24 +08:00
Add pyfarmhash stubs (#5139)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
This commit is contained in:
1
stubs/pyfarmhash/METADATA.toml
Normal file
1
stubs/pyfarmhash/METADATA.toml
Normal file
@@ -0,0 +1 @@
|
||||
version = "0.2"
|
||||
9
stubs/pyfarmhash/farmhash.pyi
Normal file
9
stubs/pyfarmhash/farmhash.pyi
Normal file
@@ -0,0 +1,9 @@
|
||||
def fingerprint128(__a: str) -> tuple[int, int]: ...
|
||||
def fingerprint32(__a: str) -> int: ...
|
||||
def fingerprint64(__a: str) -> int: ...
|
||||
def hash128(__a: str) -> tuple[int, int]: ...
|
||||
def hash128withseed(__a: str, __seed_low: int, __seed_high: int) -> tuple[int, int]: ...
|
||||
def hash32(__a: str) -> int: ...
|
||||
def hash32withseed(__a: str, __seed: int) -> int: ...
|
||||
def hash64(__a: str) -> int: ...
|
||||
def hash64withseed(__a: str, __seed: int) -> int: ...
|
||||
Reference in New Issue
Block a user