From: Guido van Rossum Date: Tue, 2 Jan 2001 18:28:52 +0000 (+0000) Subject: Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2). X-Git-Tag: v2.1a1~457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b19f1e3701148b7d6867fb6ac9b72b75f0ef5cba;p=python Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2). Get rid of assignment to unused self.text.wordlist. --- diff --git a/Tools/idle/AutoExpand.py b/Tools/idle/AutoExpand.py index 0d57be4205..09f34b38d9 100644 --- a/Tools/idle/AutoExpand.py +++ b/Tools/idle/AutoExpand.py @@ -12,7 +12,7 @@ class AutoExpand: } unix_keydefs = { - '<>': [''], + '<>': ['', ''], } 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):