mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 00:24:24 +08:00
Fix stdlib stubtest for latest Python patch releases (#13464)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from collections.abc import Iterable, Iterator
|
||||
from email.errors import HeaderParseError, MessageDefect
|
||||
from email.policy import Policy
|
||||
@@ -21,6 +22,9 @@ NLSET: Final[set[str]]
|
||||
# Added in Python 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.5
|
||||
SPECIALSNL: Final[set[str]]
|
||||
|
||||
if sys.version_info >= (3, 12):
|
||||
def make_quoted_pairs(value: Any) -> str: ...
|
||||
|
||||
def quote_string(value: Any) -> str: ...
|
||||
|
||||
rfc2047_matcher: Pattern[str]
|
||||
|
||||
Reference in New Issue
Block a user