From bdfcfccbe591e15221f35add01132174c9b4e669 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 1 Jan 1992 19:35:13 +0000 Subject: New == syntax --- Lib/stdwin/Buttons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/stdwin/Buttons.py') diff --git a/Lib/stdwin/Buttons.py b/Lib/stdwin/Buttons.py index 949e128e5c..d1435d3acf 100755 --- a/Lib/stdwin/Buttons.py +++ b/Lib/stdwin/Buttons.py @@ -110,7 +110,7 @@ class LabelAppearance: # def draw(self, (d, area)): area = _rect.intersect(area, self.bounds) - if area = _rect.empty: + if area == _rect.empty: return d.cliprect(area) self.drawit(d) -- cgit v1.2.1