mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
parsimonious: re.Match does not exist in Python 3.6 (#7482)
It has to be imported from `typing` in <3.7. Refs https://github.com/python/typeshed/pull/7478.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from re import Match
|
||||
from typing import Any, Callable, Iterator, NoReturn, Sequence, TypeVar
|
||||
from typing import Any, Callable, Iterator, Match, NoReturn, Sequence, TypeVar
|
||||
|
||||
from parsimonious.exceptions import VisitationError as VisitationError
|
||||
from parsimonious.expressions import Expression
|
||||
|
||||
Reference in New Issue
Block a user