Skip to content

Commit

Permalink
Fix return type of RawConfigParser.items()
Browse files Browse the repository at this point in the history
  • Loading branch information
Guido van Rossum committed Jan 11, 2017
1 parent d7edb03 commit b369a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/3/configparser.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...

Expand Down

0 comments on commit b369a3f

Please sign in to comment.