From c7ac9b6641909e0e401a52814cc82d61bef84c3f Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Mon, 4 Oct 2021 21:35:26 -0700 Subject: [PATCH] markdown: fix type of Pattern (#6115) Surfaced weirdly by #6109 Co-authored-by: hauntsaninja <> --- 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 01068e034..20046e0d1 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): ...