summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/__init__.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-03 12:15:00 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-03 12:15:00 (GMT)
commit0de5362a408325e7dfe7736c93e34243b4584740 (patch)
treed46a2be57042c1b6a5d301158028425ac903a2b9 /Lib/tkinter/__init__.py
parent7df4ddde15d654d557c3c0f8f1ee24a52e82f475 (diff)
parent2849e0dfb7ed722eec601ffd9b18523019e151b2 (diff)
downloadcpython-0de5362a408325e7dfe7736c93e34243b4584740.zip
cpython-0de5362a408325e7dfe7736c93e34243b4584740.tar.gz
cpython-0de5362a408325e7dfe7736c93e34243b4584740.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__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py
index 728ff42..a9618b0 100644
--- a/Lib/tkinter/__init__.py
+++ b/Lib/tkinter/__init__.py
@@ -3472,7 +3472,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.