mirror of
https://github.com/python/cpython.git
synced 2025-08-22 01:35:16 +00:00
Merged revisions 79558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79558 | florent.xicluna | 2010-04-01 21:17:09 +0300 (Thu, 01 Apr 2010) | 2 lines #7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote. ........
This commit is contained in:
parent
507ea2ae18
commit
b55d368055
6 changed files with 22 additions and 23 deletions
|
@ -349,10 +349,8 @@ class AutoCompleteWindow:
|
|||
self.lastkey_was_tab = True
|
||||
return
|
||||
|
||||
elif reduce(lambda x, y: x or y,
|
||||
[keysym.find(s) != -1 for s in ("Shift", "Control", "Alt",
|
||||
"Meta", "Command", "Option")
|
||||
]):
|
||||
elif any(s in keysym for s in ("Shift", "Control", "Alt",
|
||||
"Meta", "Command", "Option")):
|
||||
# A modifier key, so ignore
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue