Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bpo-33564: Add async to IDLE's code context block openers. (GH-6960)
(cherry picked from commit d89ca94)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
terryjreedy authored and miss-islington committed May 18, 2018
commit dc0a105bd9628044dc6a1d07544f3f9437b8d035
2 changes: 1 addition & 1 deletion Lib/idlelib/codecontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
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

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IDLE's code context now recognizes async as a block opener.