mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add email.base64mime stub (#6659)
This commit is contained in:
7
stdlib/email/base64mime.pyi
Normal file
7
stdlib/email/base64mime.pyi
Normal file
@@ -0,0 +1,7 @@
|
||||
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: ...
|
||||
def decode(string: str | bytes) -> bytes: ...
|
||||
|
||||
body_decode = decode
|
||||
decodestring = decode
|
||||
Reference in New Issue
Block a user