[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns
Serhiy Storchaka
report at bugs.python.org
Mon Jul 10 02:01:21 EDT 2017
Serhiy Storchaka added the comment:
> However, while the revision describes how the Python wrapper should behave, I am dubious that tk.call itself returns either a list or a tuple, rather than a string such as '{0 sash}' unless verifed with a test.
This depends on the value of wantobjects. If it is 0, PanedWindow.identify() returns a string such as '{0 sash}'. Otherwise it currently returns a pair of an integer and a string. But this depends on Tk implementation details. In future versions it could return a second item as a Tcl_Obj instead of a string. This can be changed even in a Tk bugfix release.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6159>
_______________________________________
More information about the Python-bugs-list
mailing list