mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Import Match and Pattern from re, not typing (#8277)
This commit is contained in:
@@ -2,8 +2,9 @@ import sys
|
||||
from _typeshed import StrOrBytesPath
|
||||
from builtins import open as _builtin_open
|
||||
from collections.abc import Callable, Generator, Iterable, Sequence
|
||||
from re import Pattern
|
||||
from token import *
|
||||
from typing import Any, NamedTuple, Pattern, TextIO
|
||||
from typing import Any, NamedTuple, TextIO
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
__all__ = [
|
||||
|
||||
Reference in New Issue
Block a user