diff options
author | Georg Brandl <georg@python.org> | 2006-07-17 13:23:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-07-17 13:23:46 (GMT) |
commit | 7b71bf3872b6c4257027ff239b9451413013edd4 (patch) | |
tree | 496deec1628066ffdf5d3bd9459df41ed8773401 /Lib/idlelib | |
parent | 83fa22f564609207cba2cc5982ebe382049aa3ff (diff) | |
download | cpython-7b71bf3872b6c4257027ff239b9451413013edd4.zip cpython-7b71bf3872b6c4257027ff239b9451413013edd4.tar.gz cpython-7b71bf3872b6c4257027ff239b9451413013edd4.tar.bz2 |
Remove usage of sets module (patch #1500609).
Diffstat (limited to 'Lib/idlelib')
-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 5d55f77..63cc82c 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 |