Skip to content

Commit b369a3f

Browse files
author
Guido van Rossum
committed
Fix return type of RawConfigParser.items()
1 parent d7edb03 commit b369a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/configparser.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class RawConfigParser(_parser):
105105
...
106106

107107
# This is incompatible with Mapping so we ignore the type.
108-
def items(self, section: str = ..., raw: bool = ..., vars: _section = ...) -> Iterable[Tuple[str, str]]: ... # type: ignore
108+
def items(self, section: str = ..., raw: bool = ..., vars: _section = ...) -> Iterable[Tuple[str, _section]]: ... # type: ignore
109109

110110
def set(self, section: str, option: str, value: str) -> None: ...
111111

0 commit comments

Comments
 (0)