mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-28 12:32:20 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
from collections.abc import Container, Iterable, MutableMapping
|
||||
from typing import Any, Pattern, Protocol
|
||||
from re import Pattern
|
||||
from typing import Any, Protocol
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from .html5lib_shim import Filter
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
from collections.abc import Callable, Container, Iterable
|
||||
from typing import Any, Pattern
|
||||
from re import Pattern
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from .css_sanitizer import CSSSanitizer
|
||||
|
||||
Reference in New Issue
Block a user