summaryrefslogtreecommitdiffstats
path: root/Tools/idle
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-01-02 18:28:52 (GMT)
committerGuido van Rossum <guido@python.org>2001-01-02 18:28:52 (GMT)
commitb19f1e3701148b7d6867fb6ac9b72b75f0ef5cba (patch)
treed220cbe9c43efb7b8827390b06329782042d4394 /Tools/idle
parentfd288c7cd59cffcdb110d04dca1ba2e821aabac7 (diff)
downloadcpython-b19f1e3701148b7d6867fb6ac9b72b75f0ef5cba.zip
cpython-b19f1e3701148b7d6867fb6ac9b72b75f0ef5cba.tar.gz
cpython-b19f1e3701148b7d6867fb6ac9b72b75f0ef5cba.tar.bz2
Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).
Get rid of assignment to unused self.text.wordlist.
Diffstat (limited to 'Tools/idle')
-rw-r--r--Tools/idle/AutoExpand.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tools/idle/AutoExpand.py b/Tools/idle/AutoExpand.py
index 0d57be4..09f34b3 100644
--- a/Tools/idle/AutoExpand.py
+++ b/Tools/idle/AutoExpand.py
@@ -12,7 +12,7 @@ class AutoExpand:
}
unix_keydefs = {
- '<<expand-word>>': ['<Meta-slash>'],
+ '<<expand-word>>': ['<Meta-slash>', '<Alt-slash>'],
}
menudefs = [
@@ -25,7 +25,6 @@ class AutoExpand:
def __init__(self, editwin):
self.text = editwin.text
- self.text.wordlist = None # XXX what is this?
self.state = None
def expand_word_event(self, event):