mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
RawConfigParser.items (#820)
The corresponding line is already present in the Python 2 ConfigParser stubs.
This commit is contained in:
committed by
Guido van Rossum
parent
d17f7236a1
commit
d7edb0365f
@@ -104,6 +104,9 @@ class RawConfigParser(_parser):
|
||||
def get(self, section: str, option: str, *, raw: bool = ..., vars: _section = ..., fallback: str = ...) -> str: # type: ignore
|
||||
...
|
||||
|
||||
# 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 set(self, section: str, option: str, value: str) -> None: ...
|
||||
|
||||
def write(self,
|
||||
|
||||
Reference in New Issue
Block a user