Update typing_extensions imports in third-party stubs (#11245)

This commit is contained in:
Sebastian Rittau
2024-01-05 15:40:13 +01:00
committed by GitHub
parent 1b471a9a0a
commit b6eaadcfe5
488 changed files with 715 additions and 845 deletions

View File

@@ -1,6 +1,6 @@
from collections.abc import Callable, Mapping, Sequence
from typing import Any, ClassVar, Protocol
from typing_extensions import Literal, Self
from typing import Any, ClassVar, Literal, Protocol
from typing_extensions import Self
from xml.etree.ElementTree import Element
from . import blockparser, inlinepatterns, postprocessors, preprocessors, treeprocessors

View File

@@ -1,7 +1,6 @@
from collections.abc import Iterator, MutableSet
from re import Pattern
from typing import Any
from typing_extensions import TypedDict
from typing import Any, TypedDict
from xml.etree.ElementTree import Element
from markdown.core import Markdown

View File

@@ -1,7 +1,6 @@
from collections.abc import Iterator
from re import Pattern
from typing import Any, Generic, TypeVar, overload
from typing_extensions import TypedDict
from typing import Any, Generic, TypedDict, TypeVar, overload
from markdown.core import Markdown