mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
14 lines
431 B
Python
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]
|