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:
parent
efa6427797
commit
b2a02b9d88
|
@ -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
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
IDLE's code context now recognizes async as a block opener.
|
Loading…
Reference in New Issue