mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-01 21:50:21 +08:00
Fix stdlib stubtest for latest Python patch releases (#14220)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import sys
|
||||
from collections.abc import Iterable, Iterator
|
||||
from email.errors import HeaderParseError, MessageDefect
|
||||
from email.policy import Policy
|
||||
@@ -22,10 +21,8 @@ NLSET: Final[set[str]]
|
||||
# Added in Python 3.9.20, 3.10.15, 3.11.10, 3.12.5
|
||||
SPECIALSNL: Final[set[str]]
|
||||
|
||||
if sys.version_info >= (3, 10):
|
||||
# Added in Python 3.10.17, 3.11.12, 3.12.9, 3.13.2 (may still be backported to 3.9)
|
||||
def make_quoted_pairs(value: Any) -> str: ...
|
||||
|
||||
# Added in Python 3.9.23, 3.10.17, 3.11.12, 3.12.9, 3.13.2
|
||||
def make_quoted_pairs(value: Any) -> str: ...
|
||||
def quote_string(value: Any) -> str: ...
|
||||
|
||||
rfc2047_matcher: Pattern[str]
|
||||
|
||||
Reference in New Issue
Block a user