mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Add email.charset.SHORTEST, QP, BASE64 to the stub for Python 2 (#2857)
Also mark Python 3 constants as undocumented. Fixes #2830
This commit is contained in:
committed by
Sebastian Rittau
parent
08555f80d1
commit
e4e19d6e98
@@ -2,6 +2,10 @@ def add_charset(charset, header_enc=..., body_enc=..., output_charset=...) -> No
|
||||
def add_alias(alias, canonical) -> None: ...
|
||||
def add_codec(charset, codecname) -> None: ...
|
||||
|
||||
QP: int # undocumented
|
||||
BASE64: int # undocumented
|
||||
SHORTEST: int # undocumented
|
||||
|
||||
class Charset:
|
||||
input_charset = ...
|
||||
header_encoding = ...
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
from typing import List, Optional, Iterator, Any
|
||||
|
||||
QP: int
|
||||
BASE64: int
|
||||
SHORTEST: int
|
||||
QP: int # undocumented
|
||||
BASE64: int # undocumented
|
||||
SHORTEST: int # undocumented
|
||||
|
||||
class Charset:
|
||||
input_charset = ... # type: str
|
||||
|
||||
Reference in New Issue
Block a user