Replace Incomplete | None = None in stdlib (#14083)

This commit is contained in:
Sebastian Rittau
2025-05-16 15:43:52 +02:00
committed by GitHub
parent 5785616f7a
commit 0125fe2848
12 changed files with 50 additions and 62 deletions
+1 -2
View File
@@ -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: ...