From 2a7ff297c5958567b3c7f13a43d6bb120eb25b7d Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Wed, 16 Aug 2006 03:15:26 +0000 Subject: The 'with' statement is now a Code Context block opener --- Lib/idlelib/CodeContext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/idlelib/CodeContext.py') diff --git a/Lib/idlelib/CodeContext.py b/Lib/idlelib/CodeContext.py index 63cc82cd51..74d5b70240 100644 --- a/Lib/idlelib/CodeContext.py +++ b/Lib/idlelib/CodeContext.py @@ -15,7 +15,7 @@ import re from sys import maxint as INFINITY BLOCKOPENERS = set(["class", "def", "elif", "else", "except", "finally", "for", - "if", "try", "while"]) + "if", "try", "while", "with"]) UPDATEINTERVAL = 100 # millisec FONTUPDATEINTERVAL = 1000 # millisec -- cgit v1.2.1