Skip to content

Commit d648a75

Browse files
author
Daniel Watkins
committed
RawConfigParser.items(str) returns a List not an Iterable
1 parent b4d8838 commit d648a75

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
@@ -116,7 +116,7 @@ class RawConfigParser(_parser):
116116
def items(self, *, raw: bool = ..., vars: _section = ...) -> AbstractSet[Tuple[str, SectionProxy]]: ...
117117

118118
@overload
119-
def items(self, section: str, raw: bool = ..., vars: _section = ...) -> Iterable[Tuple[str, str]]: ...
119+
def items(self, section: str, raw: bool = ..., vars: _section = ...) -> List[Tuple[str, str]]: ...
120120

121121
def set(self, section: str, option: str, value: str) -> None: ...
122122

0 commit comments

Comments
 (0)