Markdown: BlockProcessor.detab returns a pair of strings (#8586)

This commit is contained in:
Oleh Prypin
2022-08-21 20:59:41 +02:00
committed by GitHub
parent 836d680f16
commit d08e8baef7

View File

@@ -16,7 +16,7 @@ class BlockProcessor:
tab_length: int
def __init__(self, parser: BlockParser) -> None: ...
def lastChild(self, parent: Element) -> Element | None: ...
def detab(self, text: str, length: int | None = ...) -> str: ...
def detab(self, text: str, length: int | None = ...) -> tuple[str, str]: ...
def looseDetab(self, text: str, level: int = ...) -> str: ...
def test(self, parent: Element, block: str) -> bool: ...
def run(self, parent: Element, blocks: list[str]) -> bool | None: ...