8000 Add pyfarmhash stubs (#5139) · python/typeshed@272505c · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 272505c

Browse files
Add pyfarmhash stubs (#5139)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
1 parent 577dbe9 commit 272505c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

stubs/pyfarmhash/METADATA.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version = "0.2"

stubs/pyfarmhash/farmhash.pyi

< 77C3 div class="d-flex flex-items-center gap-1 pl-1">Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
def fingerprint128(__a: str) -> tuple[int, int]: ...
2+
def fingerprint32(__a: str) -> int: ...
3+
def fingerprint64(__a: str) -> int: ...
4+
def hash128(__a: str) -> tuple[int, int]: ...
5+
def hash128withseed(__a: str, __seed_low: int, __seed_high: int) -> tuple[int, int]: ...
6+
def hash32(__a: str) -> int: ...
7+
def hash32withseed(__a: str, __seed: int) -> int: ...
8+
def hash64(__a: str) -> int: ...
9+
def hash64withseed(__a: str, __seed: int) -> int: ...

0 commit comments

Comments
 (0)
0