From: Guido van Rossum Date: Fri, 22 Aug 1997 20:56:07 +0000 (+0000) Subject: Correct off-by-two-pixels error. X-Git-Tag: v1.5a4~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21c5c8fa5b205e5106360811964a67141852d428;p=python Correct off-by-two-pixels error. --- diff --git a/Demo/tkinter/guido/hanoi.py b/Demo/tkinter/guido/hanoi.py index 2cc4134320..9e566c4a30 100755 --- a/Demo/tkinter/guido/hanoi.py +++ b/Demo/tkinter/guido/hanoi.py @@ -111,7 +111,7 @@ class Tkhanoi: self.tk.update() # Move it down on top of the previous piece - pieceheight = y2-y1-2 + pieceheight = y2-y1 newbottom = by2 - pieceheight*len(self.pegstate[b]) - 2 while 1: x1, y1, x2, y2 = c.bbox(p)