From 176916a98928c1828acd997f5bc11863f0d36c71 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 27 Sep 2002 16:21:18 +0000 Subject: [PATCH] Allow internal whitespace in keys. Closes SF bug #583248; backporting to r22-maint branch. --- Lib/ConfigParser.py | 7 ++++--- Lib/test/test_cfgparser.py | 6 ++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index 47243fbcf3..842a576cef 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -418,7 +418,7 @@ class ConfigParser: r'\]' # ] ) OPTCRE = re.compile( - r'(?P