Skip to content

Commit

Permalink
take Misc.config out
Browse files Browse the repository at this point in the history
  • Loading branch information
tungol committed Nov 28, 2024
1 parent 6fcd9a8 commit 7dfa7be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions stdlib/@tests/stubtest_allowlists/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ multiprocessing.managers.SyncManager.Pool
multiprocessing.pool.Pool.Process
multiprocessing.pool.ThreadPool.Process
multiprocessing.synchronize.Semaphore.get_value
tkinter.Misc.config
turtle.TNavigator.speed

_ctypes.PyObj_FromPtr
Expand Down
5 changes: 2 additions & 3 deletions stdlib/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -627,9 +627,8 @@ class Misc:
def __getitem__(self, key: str) -> Any: ...
def cget(self, key: str) -> Any: ...
def configure(self, cnf: Any = None) -> Any: ...
# this is an alias for configure, but giving it a more precise type
# creates conflicts in the subclasses.
config: Callable[..., Any] = ...
# TODO: config is an alias of configure, but adding that here creates
# conflict with the type of config in the subclasses. See #13149

class CallWrapper:
func: Incomplete
Expand Down

0 comments on commit 7dfa7be

Please sign in to comment.