RawConfigParser.items (#820)

The corresponding line is already present in the Python 2 ConfigParser stubs.
This commit is contained in:
Madeleine Thompson
2017-01-10 18:56:26 -05:00
committed by Guido van Rossum
parent d17f7236a1
commit d7edb0365f

View File

@@ -104,6 +104,9 @@ class RawConfigParser(_parser):
def get(self, section: str, option: str, *, raw: bool = ..., vars: _section = ..., fallback: str = ...) -> str: # type: ignore
...
# This is incompatible with Mapping so we ignore the type.
def items(self, section: str = ..., raw: bool = ..., vars: _section = ...) -> Iterable[Tuple[str, str]]: ... # type: ignore
def set(self, section: str, option: str, value: str) -> None: ...
def write(self,