diff options
author | Guido van Rossum <guido@python.org> | 2001-01-02 18:28:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-02 18:28:52 (GMT) |
commit | b19f1e3701148b7d6867fb6ac9b72b75f0ef5cba (patch) | |
tree | d220cbe9c43efb7b8827390b06329782042d4394 | |
parent | fd288c7cd59cffcdb110d04dca1ba2e821aabac7 (diff) | |
download | cpython-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.
-rw-r--r-- | Tools/idle/AutoExpand.py | 3 |
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): |