-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make package PEP 561 compliant; add typehint stub file
- Loading branch information
Showing
5 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
include LICENSE* | ||
include AUTHORS* | ||
include src/crc32c/ext/*.h | ||
include src/crc32c/*.pyi | ||
include src/crc32c/py.typed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from collections.abc import Buffer | ||
|
||
big_endian: int | ||
hardware_based: bool | ||
|
||
def crc32(data: Buffer, value: int = 0, gil_release_mode: int = -1) -> int: ... | ||
def crc32c(data: Buffer, value: int = 0, gil_release_mode: int = -1) -> int: ... |
Empty file.