From e931387eb8f14a81b52cf5904259fbd1a14889ff Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 27 Sep 2002 16:34:30 +0000 Subject: [PATCH] Allow internal whitespace in keys. Closes SF bug #583248. --- 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 327f9ea86ffc..85eb7b32bdc4 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -385,7 +385,7 @@ class ConfigParser: r'\]' # ] ) OPTCRE = re.compile( - r'(?P