Skip to content

Commit 3881f1f

Browse files
authored
[configparser] Narrow RawConfigParser.popitem() to SectionProxy (#16289)
1 parent f40e0da commit 3881f1f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stdlib/configparser.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ class RawConfigParser(_Parser):
334334
def items(self, section: _SectionName, raw: bool = False, vars: _Section | None = None) -> list[tuple[str, str]]: ...
335335

336336
def values(self) -> ValuesView[SectionProxy]: ...
337+
def popitem(self) -> tuple[str, SectionProxy]: ...
337338
def set(self, section: _SectionName, option: str, value: str | None = None) -> None: ...
338339
def write(self, fp: SupportsWrite[str], space_around_delimiters: bool = True) -> None: ...
339340
def remove_option(self, section: _SectionName, option: str) -> bool: ...

0 commit comments

Comments
 (0)