mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Adds Literal and __all__ to cmd.pyi (#6847)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user