Skip to content

Commit

Permalink
Remove SimpleNamespace from _ReadState, as it adds no value.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 14, 2024
1 parent 11bae33 commit 24c0705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/configparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 24c0705

Please sign in to comment.