mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 13:51:30 +08:00
Merge binascii module into 2and3 (#1144)
* Unify binascii module * Move binascii to 2and3 * CR fixes * Fix flakes * Fix flakes better
This commit is contained in:
committed by
Jelle Zijlstra
parent
452c1e1d78
commit
8bed2fce93
@@ -1,21 +0,0 @@
|
||||
"""Stubs for the binascii module."""
|
||||
|
||||
def a2b_base64(string: str) -> str: ...
|
||||
def a2b_hex(hexstr: str) -> str: ...
|
||||
def a2b_hqx(string: str) -> str: ...
|
||||
def a2b_qp(string: str, header: bool = ...) -> str: ...
|
||||
def a2b_uu(string: str) -> str: ...
|
||||
def b2a_base64(data: str) -> str: ...
|
||||
def b2a_hex(data: str) -> str: ...
|
||||
def b2a_hqx(data: str) -> str: ...
|
||||
def b2a_qp(data: str, quotetabs: bool = ..., istext: bool = ..., header: bool = ...) -> str: ...
|
||||
def b2a_uu(data: str) -> str: ...
|
||||
def crc32(data: str, crc: int = None) -> int: ...
|
||||
def crc_hqx(data: str, oldcrc: int) -> int: ...
|
||||
def hexlify(data: str) -> str: ...
|
||||
def rlecode_hqx(data: str) -> str: ...
|
||||
def rledecode_hqx(data: str) -> str: ...
|
||||
def unhexlify(hexstr: str) -> str: ...
|
||||
|
||||
class Error(Exception): ...
|
||||
class Incomplete(Exception): ...
|
||||
Reference in New Issue
Block a user