Files
typeshed/stubs/docopt/docopt.pyi
2023-01-18 08:48:16 +00:00

14 lines
431 B
Python

from _typeshed import Incomplete
from collections.abc import Iterable
from typing import Any
from typing_extensions import TypeAlias
__version__: str
_Argv: TypeAlias = Iterable[str] | str
def printable_usage(doc: str) -> str: ...
def docopt(
doc: str, argv: _Argv | None = ..., help: bool = ..., version: Incomplete | None = ..., options_first: bool = ...
) -> dict[str, Any]: ... # Really should be dict[str, str | bool]