diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-12-11 10:33:36 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-12-11 10:33:36 (GMT) |
commit | 049882e561aeae334e71063792ddd7883fc52764 (patch) | |
tree | c96c65a454bba13ce158ec8f734f3b319bf2c414 /Lib/idlelib/CodeContext.py | |
parent | b252b5ab0c98a1b216f3d361bbf0f67ff2276365 (diff) | |
download | cpython-049882e561aeae334e71063792ddd7883fc52764.zip cpython-049882e561aeae334e71063792ddd7883fc52764.tar.gz cpython-049882e561aeae334e71063792ddd7883fc52764.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 84491d5..44783b6 100644 --- a/Lib/idlelib/CodeContext.py +++ b/Lib/idlelib/CodeContext.py @@ -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 |