summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-16 13:43:05 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-16 13:43:05 (GMT)
commit93d1fe1c56444e06e704582ddbf6ba77deadc0fd (patch)
tree832a9c3018a47e6f1ec962319eab3096e600a997
parent98c92c83a59147e1e0e772cabc7497e93fbd76d9 (diff)
downloadcpython-93d1fe1c56444e06e704582ddbf6ba77deadc0fd.zip
cpython-93d1fe1c56444e06e704582ddbf6ba77deadc0fd.tar.gz
cpython-93d1fe1c56444e06e704582ddbf6ba77deadc0fd.tar.bz2
From: Nicolas CHAUVAT <nico@caesium.fr>
In the bbox method of Group (Canvas.py file), you should read return self.canvas._getints(self._do('bbox')) instead of return self._getints(self._do('bbox'))
-rw-r--r--Lib/lib-tk/Canvas.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/Canvas.py b/Lib/lib-tk/Canvas.py
index 3f19e0f..3753274 100644
--- a/Lib/lib-tk/Canvas.py
+++ b/Lib/lib-tk/Canvas.py
@@ -141,7 +141,7 @@ class Group:
def addtag_withtag(self, tagOrId):
self._do('addtag', 'withtag', tagOrId)
def bbox(self):
- return self._getints(self._do('bbox'))
+ return self.canvas._getints(self._do('bbox'))
def bind(self, sequence=None, command=None):
return self.canvas.tag_bind(self.id, sequence, command)
def unbind(self, sequence):