From b369a3f2dbaadb5e8841d65f475a6c62659f597e Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 11 Jan 2017 07:09:27 -0800 Subject: [PATCH] Fix return type of RawConfigParser.items() --- stdlib/3/configparser.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/configparser.pyi b/stdlib/3/configparser.pyi index 4cf5a051b7a2..22a42a14c56d 100644 --- a/stdlib/3/configparser.pyi +++ b/stdlib/3/configparser.pyi @@ -105,7 +105,7 @@ class RawConfigParser(_parser): ... # 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 items(self, section: str = ..., raw: bool = ..., vars: _section = ...) -> Iterable[Tuple[str, _section]]: ... # type: ignore def set(self, section: str, option: str, value: str) -> None: ...