summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/StripChart.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/lib-stdwin/StripChart.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
Diffstat (limited to 'Lib/lib-stdwin/StripChart.py')
-rw-r--r--Lib/lib-stdwin/StripChart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-stdwin/StripChart.py b/Lib/lib-stdwin/StripChart.py
index d58f835..5bce412 100644
--- a/Lib/lib-stdwin/StripChart.py
+++ b/Lib/lib-stdwin/StripChart.py
@@ -51,7 +51,7 @@ class StripChart(LabelAppearance, NoReactivity):
#
def draw(self, (d, area)):
area = rect.intersect(area, self.bounds)
- if area = rect.empty:
+ if area == rect.empty:
return
d.cliprect(area)
d.erase(self.bounds)