We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bffcf7 commit df2a842Copy full SHA for df2a842
mypy-stubs/mistune/scanner.pyi
@@ -16,7 +16,7 @@ from typing import (
16
from mistune._types import State
17
from typing_extensions import TypeAlias
18
19
-MethodFunc: TypeAlias = Callable[["ScannerParser", Match, State], Any]
+MethodFunc: TypeAlias = Callable[["ScannerParser", Match[str], State], Any]
20
RuleMethod = Tuple[Pattern[str], MethodFunc]
21
Lexicon = List[Tuple[Pattern[str], Tuple[str, RuleMethod]]]
22
TextParser = Callable[[str, State], str]
0 commit comments