mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 10:21:14 +08:00
markdown: fix type of Pattern (#6115)
Surfaced weirdly by #6109 Co-authored-by: hauntsaninja <>
This commit is contained in:
@@ -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): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user