mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 04:34:33 +08:00
Fix return type of RawConfigParser.items()
This commit is contained in:
1 parent
d7edb0365f
commit
b369a3f2db
1 file changed
+1
-1
@@ -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: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user