Files
typeshed/stubs/docopt/docopt.pyi
2022-05-21 18:33:04 +02:00

13 lines
391 B
Python

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: Any | None = ..., options_first: bool = ...
) -> dict[str, Any]: ... # Really should be dict[str, str | bool]