diff --git a/stubs/Pygments/METADATA.toml b/stubs/Pygments/METADATA.toml index 1768af3414c0..ad60f7038a31 100644 --- a/stubs/Pygments/METADATA.toml +++ b/stubs/Pygments/METADATA.toml @@ -1,4 +1,4 @@ -version = "2.20.*" +version = "2.21.*" upstream-repository = "https://github.com/pygments/pygments" optional-dependencies = ["types-docutils"] partial-stub = true diff --git a/stubs/Pygments/pygments/util.pyi b/stubs/Pygments/pygments/util.pyi index e2b63b730dd7..039bd80ab4a0 100644 --- a/stubs/Pygments/pygments/util.pyi +++ b/stubs/Pygments/pygments/util.pyi @@ -51,3 +51,5 @@ def terminal_encoding(term: Any) -> str: ... class UnclosingTextIOWrapper(TextIOWrapper): def close(self) -> None: ... + +def html_escape(string: str, quote: bool = True) -> str: ...