10000 markdown: fix type of Pattern (#6115) · python/typeshed@c7ac9b6 · GitHub
[go: up one dir, main page]

Skip to content

Commit c7ac9b6

Browse files
authored
markdown: fix type of Pattern (#6115)
Surfaced weirdly by #6109 Co-authored-by: hauntsaninja <>
1 parent 2912ab0 commit c7ac9b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stubs/Markdown/markdown/inlinepatterns.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import typing
12
from typing import Any, Match, Tuple
23
from xml.etree.ElementTree import Element
34

@@ -93,7 +94,7 @@ class LinkInlineProcessor(InlineProcessor):
9394
class ImageInlineProcessor(LinkInlineProcessor): ...
9495

9596
class ReferenceInlineProcessor(LinkInlineProcessor):
96-
NEWLINE_CLEANUP_RE: Pattern
97+
NEWLINE_CLEANUP_RE: typing.Pattern
9798
def evalId(self, data, index, text): ...
9899
def makeTag(self, href, title, text): ...
99100

0 commit comments

Comments
 (0)
0