Skip to content

Commit

Permalink
bpo-33564: Add async to IDLE's code context block openers. (GH-6960)
Browse files Browse the repository at this point in the history
  • Loading branch information
terryjreedy committed May 18, 2018
1 parent fb9dd89 commit d89ca94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/idlelib/codecontext.py
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
@@ -0,0 +1 @@
IDLE's code context now recognizes async as a block opener.

0 comments on commit d89ca94

Please sign in to comment.