summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/Buttons.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
commitbdfcfccbe591e15221f35add01132174c9b4e669 (patch)
tree7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Lib/stdwin/Buttons.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
Diffstat (limited to 'Lib/stdwin/Buttons.py')
-rwxr-xr-xLib/stdwin/Buttons.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stdwin/Buttons.py b/Lib/stdwin/Buttons.py
index 949e128..d1435d3 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)