Adds Literal and __all__ to cmd.pyi (#6847)

This commit is contained in:
Nikita Sobolev
2022-01-09 19:21:02 +03:00
committed by GitHub
parent 8f7dd8c381
commit daf5b7a4af

View File

@@ -1,4 +1,10 @@
from typing import IO, Any, Callable
from typing_extensions import Literal
__all__ = ["Cmd"]
PROMPT: Literal["(Cmd) "]
IDENTCHARS: str # Too big to be `Literal`
class Cmd:
prompt: str