mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-25 05:11:09 +08:00
Add docopt.printable_usage (#7913)
This commit is contained in:
@@ -6,6 +6,7 @@ __version__: str
|
||||
|
||||
_Argv: TypeAlias = Iterable[str] | str
|
||||
|
||||
def printable_usage(doc: str) -> str: ...
|
||||
def docopt(
|
||||
doc: str, argv: _Argv | None = ..., help: bool = ..., version: Any | None = ..., options_first: bool = ...
|
||||
) -> dict[str, Any]: ... # Really should be dict[str, str | bool]
|
||||
|
||||
Reference in New Issue
Block a user