]> granicus.if.org Git - python/commitdiff
Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).
authorGuido van Rossum <guido@python.org>
Tue, 2 Jan 2001 18:28:52 +0000 (18:28 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 2 Jan 2001 18:28:52 +0000 (18:28 +0000)
Get rid of assignment to unused self.text.wordlist.

Tools/idle/AutoExpand.py

index 0d57be4205b43f83ec5164eb62dfe5e4579c7599..09f34b38d9fbac6fa55ebf39667b621b048a8ba9 100644 (file)
@@ -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):