Skip to content

Commit

Permalink
markdown: Fix Extension.config type
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Kaseorg <[email protected]>
  • Loading branch information
andersk committed Nov 10, 2020
1 parent 8754e15 commit 0ad2383
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions third_party/2and3/markdown/extensions/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from typing import Mapping, Sequence
from typing import Any, Mapping, Sequence

from markdown.core import Markdown

class Extension:
config: Mapping[str, str] = ...
def __init__(self, **kwargs: Mapping[str, str]) -> None: ...
def getConfig(self, key: str, default: str = ...) -> str: ...
def getConfigs(self) -> Mapping[str, str]: ...
def getConfigInfo(self) -> Sequence[Mapping[str, str]]: ...
def setConfig(self, key: str, value: str) -> None: ...
def setConfigs(self, items: Mapping[str, str]) -> None: ...
config: Mapping[str, Sequence[Any]] = ...
def __init__(self, **kwargs: Sequence[Any]) -> None: ...
def getConfig(self, key: str, default: Any = ...) -> Any: ...
def getConfigs(self) -> Mapping[str, Sequence[Any]]: ...
def getConfigInfo(self) -> Sequence[Mapping[str, Sequence[Any]]]: ...
def setConfig(self, key: str, value: Any) -> None: ...
def setConfigs(self, items: Mapping[str, Sequence[Any]]) -> None: ...
def extendMarkdown(self, md: Markdown) -> None: ...

0 comments on commit 0ad2383

Please sign in to comment.