mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Big diff: Use new "|" union syntax (#5872)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
from typing import Any, ClassVar, Mapping, Optional
|
||||
from typing import Any, ClassVar, Mapping
|
||||
|
||||
class Dialog:
|
||||
command: ClassVar[Optional[str]] = ...
|
||||
master: Optional[Any] = ...
|
||||
command: ClassVar[str | None] = ...
|
||||
master: Any | None = ...
|
||||
options: Mapping[str, Any] = ...
|
||||
def __init__(self, master: Optional[Any] = ..., **options) -> None: ...
|
||||
def __init__(self, master: Any | None = ..., **options) -> None: ...
|
||||
def show(self, **options) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user