mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Reduce code duplication in the email module (#7558)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import datetime
|
||||
import sys
|
||||
from email import _ParamType
|
||||
from email.charset import Charset
|
||||
from typing import Union, overload
|
||||
from typing import overload
|
||||
|
||||
__all__ = [
|
||||
"collapse_rfc2231_value",
|
||||
@@ -21,7 +22,6 @@ __all__ = [
|
||||
"unquote",
|
||||
]
|
||||
|
||||
_ParamType = Union[str, tuple[str | None, str | None, str]]
|
||||
_PDTZ = tuple[int, int, int, int, int, int, int, int, int, int | None]
|
||||
|
||||
def quote(str: str) -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user