Issue 22823: Use set literal in idlelib.

This commit is contained in:
Terry Jan Reedy 2014-12-11 05:33:25 -05:00
parent f0f09b9470
commit 78cf9a56a3
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ import re
from sys import maxint as INFINITY
from idlelib.configHandler import idleConf
BLOCKOPENERS = set(["class", "def", "elif", "else", "except", "finally", "for",
"if", "try", "while", "with"])
BLOCKOPENERS = {"class", "def", "elif", "else", "except", "finally", "for",
"if", "try", "while", "with"}
UPDATEINTERVAL = 100 # millisec
FONTUPDATEINTERVAL = 1000 # millisec