diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-03 12:13:34 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-11-03 12:13:34 (GMT) |
commit | 2849e0dfb7ed722eec601ffd9b18523019e151b2 (patch) | |
tree | 1cd61dbfb4f4932d187546d48a2b2783d7e08ae4 /Lib/tkinter/__init__.py | |
parent | 0bdcdecca7736151278097784720be08cbdc221c (diff) | |
download | cpython-2849e0dfb7ed722eec601ffd9b18523019e151b2.zip cpython-2849e0dfb7ed722eec601ffd9b18523019e151b2.tar.gz cpython-2849e0dfb7ed722eec601ffd9b18523019e151b2.tar.bz2 |
Issue #6160: The bbox() method of tkinter.Spinbox now returns a tuple of
integers instead of a string. Based on patch by Guilherme Polo.
Diffstat (limited to 'Lib/tkinter/__init__.py')
-rw-r--r-- | Lib/tkinter/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 2191ca7..549dfaa 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -3511,7 +3511,7 @@ class Spinbox(Widget, XView): bounding box may refer to a region outside the visible area of the window. """ - return self.tk.call(self._w, 'bbox', index) + return self._getints(self.tk.call(self._w, 'bbox', index)) or None def delete(self, first, last=None): """Delete one or more elements of the spinbox. |