bpo-33564: Add async to IDLE's code context block openers. (GH-6960) (#6961)

(cherry picked from commit d89ca94847)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Miss Islington (bot) 2018-05-17 19:04:23 -07:00 committed by Terry Jan Reedy
parent efa6427797
commit b2a02b9d88
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -0,0 +1 @@
IDLE's code context now recognizes async as a block opener.