mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -27,16 +27,8 @@ if sys.version_info < (3, 11):
|
||||
|
||||
def crc_hqx(__data: ReadableBuffer, __crc: int) -> int: ...
|
||||
def crc32(__data: ReadableBuffer, __crc: int = 0) -> int: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
# sep must be str or bytes, not bytearray or any other buffer
|
||||
def b2a_hex(data: ReadableBuffer, sep: str | bytes = ..., bytes_per_sep: int = ...) -> bytes: ...
|
||||
def hexlify(data: ReadableBuffer, sep: str | bytes = ..., bytes_per_sep: int = ...) -> bytes: ...
|
||||
|
||||
else:
|
||||
def b2a_hex(__data: ReadableBuffer) -> bytes: ...
|
||||
def hexlify(__data: ReadableBuffer) -> bytes: ...
|
||||
|
||||
def b2a_hex(data: ReadableBuffer, sep: str | bytes = ..., bytes_per_sep: int = ...) -> bytes: ...
|
||||
def hexlify(data: ReadableBuffer, sep: str | bytes = ..., bytes_per_sep: int = ...) -> bytes: ...
|
||||
def a2b_hex(__hexstr: _AsciiBuffer) -> bytes: ...
|
||||
def unhexlify(__hexstr: _AsciiBuffer) -> bytes: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user