bpo-33564: Add async to IDLE's code context block openers. (GH-6960) … · python/cpython@b2a02b9 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit b2a02b9

miss-islingtonterryjreedy

and

committed

(cherry picked from commit d89ca94) Co-authored-by: Terry Jan Reedy tjreedy@udel.edu

File tree

2 files changed

lines changed

2 files changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@
18 18 from idlelib.config import idleConf
19 19
20 20 BLOCKOPENERS = {"class", "def", "elif", "else", "except", "finally", "for",
21 - "if", "try", "while", "with"}
21 +"if", "try", "while", "with", "async"}
22 22 UPDATEINTERVAL = 100 # millisec
23 23 FONTUPDATEINTERVAL = 1000 # millisec
24 24

Lines changed: 1 addition & 0 deletions

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