cpython: 3f8998c2fbf9 (original) (raw)
Mercurial > cpython
changeset 99016:3f8998c2fbf9
Issue #25263: Trying to fix test_use on Windows. Avoid possible weird behavior of WideInt convertion. "winfo id" always returns string hexadecimal representation. [#25263]
Serhiy Storchaka storchaka@gmail.com | |
---|---|
date | Mon, 09 Nov 2015 14:43:31 +0200 |
parents | aca512f451a8 |
children | a4c4b356a27c |
files | Lib/tkinter/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-)[+] [-] Lib/tkinter/__init__.py 3 |
line wrap: on
line diff
--- a/Lib/tkinter/init.py +++ b/Lib/tkinter/init.py @@ -845,8 +845,7 @@ class Misc: self.tk.call('winfo', 'height', self._w)) def winfo_id(self): """Return identifier ID for this widget."""
return self.tk.getint([](#l1.7)
self.tk.call('winfo', 'id', self._w))[](#l1.8)