mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from typing import Any, Iterable, Union
|
||||
from typing import Any, Iterable
|
||||
|
||||
__version__: str
|
||||
|
||||
_Argv = Union[Iterable[str], str]
|
||||
_Argv = 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