mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-28 18:56:44 +08:00
Replace Incomplete | None = None in stdlib (#14083)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
from _typeshed import Incomplete
|
||||
from collections.abc import Mapping
|
||||
from tkinter import Widget
|
||||
from typing import Any, Final
|
||||
@@ -10,5 +9,5 @@ DIALOG_ICON: Final = "questhead"
|
||||
class Dialog(Widget):
|
||||
widgetName: str
|
||||
num: int
|
||||
def __init__(self, master: Incomplete | None = None, cnf: Mapping[str, Any] = {}, **kw) -> None: ...
|
||||
def __init__(self, master=None, cnf: Mapping[str, Any] = {}, **kw) -> None: ...
|
||||
def destroy(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user