Skip to content

Commit 408cbde

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

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

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

108108
def set(self, section: str, option: str, value: str) -> None: ...
109109

0 commit comments

Comments
 (0)