mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
@@ -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