mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Replace Incomplete | None = None in stdlib (#14083)
This commit is contained in:
1 parent
5785616f7a
commit
0125fe2848
12 files changed
+50
-62
No files matched your search
@@ -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