summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/tv.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-02-11 14:50:22 (GMT)
committerGuido van Rossum <guido@python.org>1992-02-11 14:50:22 (GMT)
commitf47d0485a08fe883672438ed9c24c57135a6934a (patch)
treed964f36e25784aa16453381db507a85681d2774b /Demo/sgi/video/tv.py
parentd61bbb33f7b19974f0a45c17ad7696eb4c310218 (diff)
downloadcpython-f47d0485a08fe883672438ed9c24c57135a6934a.zip
cpython-f47d0485a08fe883672438ed9c24c57135a6934a.tar.gz
cpython-f47d0485a08fe883672438ed9c24c57135a6934a.tar.bz2
new syntax
Diffstat (limited to 'Demo/sgi/video/tv.py')
-rwxr-xr-xDemo/sgi/video/tv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/video/tv.py b/Demo/sgi/video/tv.py
index 621740c..da4bacb 100755
--- a/Demo/sgi/video/tv.py
+++ b/Demo/sgi/video/tv.py
@@ -44,10 +44,10 @@ def main():
while 1:
if qtest():
dev, val = qread()
- if dev = ESCKEY:
+ if dev == ESCKEY:
winclose(wid)
return
- elif dev = REDRAW:
+ elif dev == REDRAW:
oldw, oldh = reshape()
elif s.avail():
data = s.recv(17000)