summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/codecontext.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2018-05-18 00:38:41 (GMT)
committerGitHub <noreply@github.com>2018-05-18 00:38:41 (GMT)
commitd89ca94847d943b883ebcc68e4f0a18cb042ed0d (patch)
treea588cb32e2c3b75a65b7d1089320a6f613fcb0e3 /Lib/idlelib/codecontext.py
parentfb9dd8915314d857161de89fcbbb041f2b49fc22 (diff)
downloadcpython-d89ca94847d943b883ebcc68e4f0a18cb042ed0d.zip
cpython-d89ca94847d943b883ebcc68e4f0a18cb042ed0d.tar.gz
cpython-d89ca94847d943b883ebcc68e4f0a18cb042ed0d.tar.bz2
bpo-33564: Add async to IDLE's code context block openers. (GH-6960)
Diffstat (limited to 'Lib/idlelib/codecontext.py')
-rw-r--r--Lib/idlelib/codecontext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/codecontext.py b/Lib/idlelib/codecontext.py
index 316e510..2bfb2e9 100644
--- a/Lib/idlelib/codecontext.py
+++ b/Lib/idlelib/codecontext.py
@@ -18,7 +18,7 @@ from tkinter.constants import TOP, LEFT, X, W, SUNKEN
from idlelib.config import idleConf
BLOCKOPENERS = {"class", "def", "elif", "else", "except", "finally", "for",
- "if", "try", "while", "with"}
+ "if", "try", "while", "with", "async"}
UPDATEINTERVAL = 100 # millisec
FONTUPDATEINTERVAL = 1000 # millisec