Skip to content

Commit 823cd6d

Browse files
authored
[tkinter] Add config alias for tkinter.Misc (#15779)
1 parent 0c702b5 commit 823cd6d

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

stdlib/@tests/stubtest_allowlists/common.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ turtledemo
1717
turtledemo\..+
1818

1919

20-
# ======================================================================
21-
# TODO: Module members that exist at runtime, but are missing from stubs
22-
# ======================================================================
23-
24-
tkinter.Misc.config
25-
26-
2720
# ======================================================================
2821
# Modules that exist at runtime, but are deliberately missing from stubs
2922
# ======================================================================

stdlib/tkinter/__init__.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,7 @@ class Misc:
679679
def __getitem__(self, key: str) -> Any: ...
680680
def cget(self, key: str) -> Any: ...
681681
def configure(self, cnf: Any = None) -> Any: ...
682-
# TODO: config is an alias of configure, but adding that here creates
683-
# conflict with the type of config in the subclasses. See #13149
682+
config = configure
684683

685684
class CallWrapper:
686685
func: Incomplete

0 commit comments

Comments
 (0)