Update typing_extensions imports in stdlib (#11244)

Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
This commit is contained in:
Sebastian Rittau
2024-01-05 17:15:19 +01:00
committed by GitHub
parent b6eaadcfe5
commit 53a8193d64
214 changed files with 365 additions and 430 deletions

View File

@@ -13,8 +13,8 @@ from email._header_value_parser import (
)
from email.errors import MessageDefect
from email.policy import Policy
from typing import Any, ClassVar, Protocol
from typing_extensions import Literal, Self
from typing import Any, ClassVar, Literal, Protocol
from typing_extensions import Self
class BaseHeader(str):
# max_count is actually more of an abstract ClassVar (not defined on the base class, but expected to be defined in subclasses)