mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
1 parent
27db37240a
commit
6348a58b8b
78 files changed
+142
-90
No files matched your search
@@ -1,8 +1,9 @@
|
||||
import sys
|
||||
from collections.abc import Iterable
|
||||
from re import Match, Pattern as _Pattern
|
||||
from sre_constants import *
|
||||
from sre_constants import _NamedIntConstant as _NIC, error as _Error
|
||||
from typing import Any, Match, Pattern as _Pattern, overload
|
||||
from typing import Any, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
SPECIAL_CHARS: str
|
||||
|
||||
Reference in new issue
Block a user