mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-18 00:55:04 +08:00
[stubsabot] Bump Markdown to 3.4.* (#8309)
This commit is contained in:
@@ -9,3 +9,4 @@ markdown.extensions.legacy_attrs.LegacyAttrs.run
|
||||
markdown.extensions.toc.TocTreeprocessor.run
|
||||
markdown.extensions.toc.slugify
|
||||
markdown.preprocessors.ReferencePreprocessor
|
||||
markdown.postprocessors.UnescapePostprocessor # deprecated
|
||||
|
||||
@@ -1 +1 @@
|
||||
version = "3.3.*"
|
||||
version = "3.4.*"
|
||||
|
||||
@@ -17,8 +17,6 @@ class BlockParser:
|
||||
state: State[Any] # TODO: possible to get rid of Any?
|
||||
md: Markdown
|
||||
def __init__(self, md: Markdown) -> None: ...
|
||||
@property
|
||||
def markdown(self): ... # deprecated
|
||||
root: Element
|
||||
def parseDocument(self, lines: Iterable[str]) -> ElementTree: ...
|
||||
def parseChunk(self, parent: Element, text: str) -> None: ...
|
||||
|
||||
@@ -12,7 +12,7 @@ class TableProcessor(BlockProcessor):
|
||||
RE_END_BORDER: Any
|
||||
border: bool = ...
|
||||
separator: str = ...
|
||||
def __init__(self, parser) -> None: ...
|
||||
def __init__(self, parser, config) -> None: ...
|
||||
|
||||
class TableExtension(Extension): ...
|
||||
|
||||
|
||||
@@ -39,8 +39,6 @@ class Pattern:
|
||||
compiled_re: Any
|
||||
md: Any
|
||||
def __init__(self, pattern, md: Any | None = ...) -> None: ...
|
||||
@property
|
||||
def markdown(self): ...
|
||||
def getCompiledRegExp(self): ...
|
||||
def handleMatch(self, m: Match[str]) -> str | Element | None: ...
|
||||
def type(self): ...
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
class Version:
|
||||
def __new__(cls, major, minor, micro, release: str = ..., pre: int = ..., post: int = ..., dev: int = ...): ...
|
||||
|
||||
class Pep562:
|
||||
def __init__(self, name) -> None: ...
|
||||
def __dir__(self): ...
|
||||
def __getattr__(self, name): ...
|
||||
@@ -13,6 +13,6 @@ class RawHtmlPostprocessor(Postprocessor):
|
||||
|
||||
class AndSubstitutePostprocessor(Postprocessor): ...
|
||||
|
||||
class UnescapePostprocessor(Postprocessor):
|
||||
class UnescapePostprocessor(Postprocessor): # deprecated
|
||||
RE: Pattern[str]
|
||||
def unescape(self, m): ...
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
from re import Pattern
|
||||
from typing import Any, overload
|
||||
|
||||
PY37: bool
|
||||
__deprecated__: dict[str, tuple[str, Any]]
|
||||
BLOCK_LEVEL_ELEMENTS: Any
|
||||
STX: str
|
||||
ETX: str
|
||||
@@ -16,7 +14,6 @@ TAG_PLACEHOLDER: Any
|
||||
RTL_BIDI_RANGES: Any
|
||||
|
||||
def deprecated(message: str, stacklevel: int = ...): ...
|
||||
def isBlockLevel(tag: object) -> bool: ...
|
||||
def parseBoolValue(value: object, fail_on_errors: bool = ..., preserve_none: bool = ...) -> bool | None: ...
|
||||
def code_escape(text: str) -> str: ...
|
||||
|
||||
@@ -25,8 +22,6 @@ class AtomicString(str): ...
|
||||
class Processor:
|
||||
md: Any
|
||||
def __init__(self, md: Any | None = ...) -> None: ...
|
||||
@property
|
||||
def markdown(self): ...
|
||||
|
||||
class HtmlStash:
|
||||
html_counter: int = ...
|
||||
|
||||
Reference in New Issue
Block a user