Python 3.11 removals in stdlib (#6374)

Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Alex Waygood
2021-11-25 17:34:12 +00:00
committed by GitHub
parent ab026bfecb
commit 9707cb00f6
13 changed files with 159 additions and 88 deletions

View File

@@ -12,10 +12,13 @@ def a2b_base64(__data: str | bytes) -> bytes: ...
def b2a_base64(__data: bytes, *, newline: bool = ...) -> bytes: ...
def a2b_qp(data: str | bytes, header: bool = ...) -> bytes: ...
def b2a_qp(data: bytes, quotetabs: bool = ..., istext: bool = ..., header: bool = ...) -> bytes: ...
def a2b_hqx(__data: str | bytes) -> bytes: ...
def rledecode_hqx(__data: bytes) -> bytes: ...
def rlecode_hqx(__data: bytes) -> bytes: ...
def b2a_hqx(__data: bytes) -> bytes: ...
if sys.version_info < (3, 11):
def a2b_hqx(__data: str | bytes) -> bytes: ...
def rledecode_hqx(__data: bytes) -> bytes: ...
def rlecode_hqx(__data: bytes) -> bytes: ...
def b2a_hqx(__data: bytes) -> bytes: ...
def crc_hqx(__data: bytes, __crc: int) -> int: ...
def crc32(__data: bytes, __crc: int = ...) -> int: ...
def b2a_hex(__data: bytes) -> bytes: ...