diff options
author | Georg Brandl <georg@python.org> | 2006-07-17 13:23:46 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-07-17 13:23:46 +0000 |
commit | 3a5e8dd240904d51c391539843a8ffcee53cafab (patch) | |
tree | ca0a09a601a927ccb5875a87644f2c74d12fb0fa /Lib/idlelib/CodeContext.py | |
parent | 06df92cd805ed8315f34f467a582aecf3e27cc50 (diff) | |
download | cpython-3a5e8dd240904d51c391539843a8ffcee53cafab.tar.gz |
Remove usage of sets module (patch #1500609).
Diffstat (limited to 'Lib/idlelib/CodeContext.py')
-rw-r--r-- | Lib/idlelib/CodeContext.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/idlelib/CodeContext.py b/Lib/idlelib/CodeContext.py index 5d55f77ee0..63cc82cd51 100644 --- a/Lib/idlelib/CodeContext.py +++ b/Lib/idlelib/CodeContext.py @@ -11,11 +11,10 @@ not open blocks are not shown in the context hints pane. """ import Tkinter from configHandler import idleConf -from sets import Set import re from sys import maxint as INFINITY -BLOCKOPENERS = Set(["class", "def", "elif", "else", "except", "finally", "for", +BLOCKOPENERS = set(["class", "def", "elif", "else", "except", "finally", "for", "if", "try", "while"]) UPDATEINTERVAL = 100 # millisec FONTUPDATEINTERVAL = 1000 # millisec |