summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin/tablewin.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/tablewin.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
Diffstat (limited to 'Lib/lib-stdwin/tablewin.py')
-rw-r--r--Lib/lib-stdwin/tablewin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-stdwin/tablewin.py b/Lib/lib-stdwin/tablewin.py
index f9ab907..eba161d 100644
--- a/Lib/lib-stdwin/tablewin.py
+++ b/Lib/lib-stdwin/tablewin.py
@@ -164,13 +164,13 @@ def whichcol(w, h): # Return column number (may be >= len(w.data))
return len(w.data)
def arrow(w, type):
- if type = WC_LEFT:
+ if type == WC_LEFT:
incr = -1, 0
- elif type = WC_UP:
+ elif type == WC_UP:
incr = 0, -1
- elif type = WC_RIGHT:
+ elif type == WC_RIGHT:
incr = 1, 0
- elif type = WC_DOWN:
+ elif type == WC_DOWN:
incr = 0, 1
else:
return