gh-43457: Tkinter: fix design flaws in wm_attributes() by serhiy-storchaka · Pull Request #111404 · python/cpython
* w.wm_attributes() without arguments returns a dict instead of a tuple or a str. * When called with a single argument to get a value, it allow to omit the minus prefix. * It can be called with keyword arguments to set attributes.
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request
Feb 14, 2024…H-111404) * When called with a single argument to get a value, it allow to omit the minus prefix. * It can be called with keyword arguments to set attributes. * w.wm_attributes(return_python_dict=True) returns a dict instead of a tuple (it will be the default in future). * Setting wantobjects to 0 no longer affects the result.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters