mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 12:51:27 +08:00
Use TypeAlias where possible for type aliases (#7630)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
from typing import Any, Iterable
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
__version__: str
|
||||
|
||||
_Argv = Iterable[str] | str
|
||||
_Argv: TypeAlias = Iterable[str] | str
|
||||
|
||||
def docopt(
|
||||
doc: str, argv: _Argv | None = ..., help: bool = ..., version: Any | None = ..., options_first: bool = ...
|
||||
|
||||
Reference in New Issue
Block a user