markdown: fix type of Pattern (#6115)

Surfaced weirdly by #6109

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2021-10-04 21:35:26 -07:00
committed by GitHub
parent 2912ab0092
commit c7ac9b6641

View File

@@ -1,3 +1,4 @@
import typing
from typing import Any, Match, Tuple
from xml.etree.ElementTree import Element
@@ -93,7 +94,7 @@ class LinkInlineProcessor(InlineProcessor):
class ImageInlineProcessor(LinkInlineProcessor): ...
class ReferenceInlineProcessor(LinkInlineProcessor):
NEWLINE_CLEANUP_RE: Pattern
NEWLINE_CLEANUP_RE: typing.Pattern
def evalId(self, data, index, text): ...
def makeTag(self, href, title, text): ...