From cb93a3afd7fcd5848ccbed3ed5472530090d7b02 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Mon, 4 Oct 2021 21:06:09 -0700 Subject: [PATCH] markdown: fix type of Pattern Surfaced weirdly by #6109 --- stubs/Markdown/markdown/inlinepatterns.pyi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stubs/Markdown/markdown/inlinepatterns.pyi b/stubs/Markdown/markdown/inlinepatterns.pyi index 01068e034120..20046e0d1587 100644 --- a/stubs/Markdown/markdown/inlinepatterns.pyi +++ b/stubs/Markdown/markdown/inlinepatterns.pyi @@ -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): ...