mirror of https://github.com/python/cpython.git
Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).
Get rid of assignment to unused self.text.wordlist.
This commit is contained in:
parent
fd288c7cd5
commit
b19f1e3701
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue