Add hilite(shebang) argument and return type (#6316)

This commit is contained in:
Sebastian Rittau
2021-11-16 18:17:08 +01:00
committed by GitHub
parent 1b0e268102
commit 9c2be9500a

View File

@@ -34,7 +34,7 @@ class CodeHilite:
use_pygments: bool = ...,
**options: Any,
) -> None: ...
def hilite(self): ...
def hilite(self, shebang: bool = ...) -> str: ...
class HiliteTreeprocessor(Treeprocessor):
def code_unescape(self, text): ...