mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue 22823: Use set literal in idlelib.
This commit is contained in:
parent
b252b5ab0c
commit
049882e561
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue