diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-12-11 10:33:25 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-12-11 10:33:25 (GMT) |
commit | 78cf9a56a3fc39df44ce7cef6fe0483ccc23062d (patch) | |
tree | dcc5cc60cb3460cc45c4619b550a30576fa4fd0a /Lib/idlelib/CodeContext.py | |
parent | f0f09b947002bda07a23a35dfa2f00dc29e3cdd7 (diff) | |
download | cpython-78cf9a56a3fc39df44ce7cef6fe0483ccc23062d.zip cpython-78cf9a56a3fc39df44ce7cef6fe0483ccc23062d.tar.gz cpython-78cf9a56a3fc39df44ce7cef6fe0483ccc23062d.tar.bz2 |
Issue 22823: Use set literal in idlelib.
Diffstat (limited to 'Lib/idlelib/CodeContext.py')
-rw-r--r-- | Lib/idlelib/CodeContext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/CodeContext.py b/Lib/idlelib/CodeContext.py index 2f6f737..bb0cc9c 100644 --- a/Lib/idlelib/CodeContext.py +++ b/Lib/idlelib/CodeContext.py @@ -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 |