Issue 22823: Use set literal in idlelib.

This commit is contained in:
Terry Jan Reedy 2014-12-11 05:33:36 -05:00
parent b252b5ab0c
commit 049882e561

View file

@ -15,8 +15,8 @@ import re
from sys import maxsize 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