Add all the email __all__s (#7304)

This commit is contained in:
Alex Waygood
2022-02-20 01:53:29 +00:00
committed by GitHub
parent e9db3bd50a
commit b74acc7546
21 changed files with 68 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
__all__ = ["body_decode", "body_encode", "decode", "decodestring", "header_encode", "header_length"]
def header_length(bytearray: str | bytes) -> int: ...
def header_encode(header_bytes: str | bytes, charset: str = ...) -> str: ...
def body_encode(s: bytes, maxlinelen: int = ..., eol: str = ...) -> str: ...