mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add hilite(shebang) argument and return type (#6316)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user