mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Replace Any with Incomplete in many places (#9558)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Iterable
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
@@ -8,5 +9,5 @@ _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 = ...
|
||||
doc: str, argv: _Argv | None = ..., help: bool = ..., version: Incomplete | None = ..., options_first: bool = ...
|
||||
) -> dict[str, Any]: ... # Really should be dict[str, str | bool]
|
||||
|
||||
Reference in New Issue
Block a user