From 24c0705c59830c1c490ec481c6f2b8a02be50488 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 14 Apr 2024 06:09:15 -0400 Subject: [PATCH] Remove SimpleNamespace from _ReadState, as it adds no value. --- Lib/configparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/configparser.py b/Lib/configparser.py index b2b85b7af22586..467f7699b75590 100644 --- a/Lib/configparser.py +++ b/Lib/configparser.py @@ -539,7 +539,7 @@ def _interpolate_some(self, parser, option, accum, rest, section, map, "found: %r" % (rest,)) -class _ReadState(types.SimpleNamespace): +class _ReadState: elements_added : set[str] cursect : dict[str, str] | None = None sectname : str | None = None