From 4343153c8c6b780c37b78b71e2072566a14b8ab6 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 19 Feb 2022 20:28:28 +0000 Subject: [PATCH] Add `configparser.__all__` (#7300) --- stdlib/configparser.pyi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/stdlib/configparser.pyi b/stdlib/configparser.pyi index b812abe99..e89d779f4 100644 --- a/stdlib/configparser.pyi +++ b/stdlib/configparser.pyi @@ -4,6 +4,30 @@ from collections.abc import Callable, ItemsView, Iterable, Iterator, Mapping, Mu from typing import Any, ClassVar, Optional, Pattern, TypeVar, overload from typing_extensions import Literal +__all__ = [ + "NoSectionError", + "DuplicateOptionError", + "DuplicateSectionError", + "NoOptionError", + "InterpolationError", + "InterpolationDepthError", + "InterpolationMissingOptionError", + "InterpolationSyntaxError", + "ParsingError", + "MissingSectionHeaderError", + "ConfigParser", + "SafeConfigParser", + "RawConfigParser", + "Interpolation", + "BasicInterpolation", + "ExtendedInterpolation", + "LegacyInterpolation", + "SectionProxy", + "ConverterMapping", + "DEFAULTSECT", + "MAX_INTERPOLATION_DEPTH", +] + # Internal type aliases _section = Mapping[str, str] _parser = MutableMapping[str, _section]