From 89abc90fb1961e7502bc579ca1cab49f6ee668cb Mon Sep 17 00:00:00 2001 From: emerard <113128214+emerardd@users.noreply.github.com> Date: Tue, 6 Oct 2026 18:10:11 +0800 Subject: [PATCH] fix(markdown): accept read-only extension configurations --- stubs/Markdown/markdown/core.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/Markdown/markdown/core.pyi b/stubs/Markdown/markdown/core.pyi index 98972399f1ea..2c591e22f9b4 100644 --- a/stubs/Markdown/markdown/core.pyi +++ b/stubs/Markdown/markdown/core.pyi @@ -44,7 +44,7 @@ class Markdown: tab_length: int | None = ..., ) -> None: ... def build_parser(self) -> Self: ... - def registerExtensions(self, extensions: Sequence[Extension | str], configs: Mapping[str, dict[str, Any]]) -> Self: ... + def registerExtensions(self, extensions: Sequence[Extension | str], configs: Mapping[str, Mapping[str, Any]]) -> Self: ... def build_extension(self, ext_name: str, configs: Mapping[str, Any]) -> Extension: ... def registerExtension(self, extension: Extension) -> Self: ... def reset(self) -> Self: ...