diff --git a/stdlib/@tests/stubtest_allowlists/common.txt b/stdlib/@tests/stubtest_allowlists/common.txt index 68d9e0ed4..81b590c54 100644 --- a/stdlib/@tests/stubtest_allowlists/common.txt +++ b/stdlib/@tests/stubtest_allowlists/common.txt @@ -72,7 +72,6 @@ bz2.BZ2File.peek codecs.StreamReader.charbuffertype codecs.StreamReader.seek codecs.StreamWriter.seek -configparser.RawConfigParser.converters ctypes.ARRAY ctypes.SetPointerType ctypes.c_voidp diff --git a/stdlib/configparser.pyi b/stdlib/configparser.pyi index a665631d1..a44dc2e1c 100644 --- a/stdlib/configparser.pyi +++ b/stdlib/configparser.pyi @@ -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