add configparser.RawConfigParser.converters (#13146)

This commit is contained in:
Stephen Morton
2024-11-27 19:55:22 -08:00
committed by GitHub
parent 11ec1a10fd
commit b286a59514
2 changed files with 2 additions and 1 deletions

View File

@@ -277,6 +277,8 @@ class RawConfigParser(_Parser):
def remove_option(self, section: str, option: str) -> bool: ...
def remove_section(self, section: str) -> bool: ...
def optionxform(self, optionstr: str) -> str: ...
@property
def converters(self) -> ConverterMapping: ...
class ConfigParser(RawConfigParser):
# This is incompatible with MutableMapping so we ignore the type