mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
configparser: allow ConfigParser()[UNNAMED_SECTION] (#14759)
This commit is contained in:
@@ -258,9 +258,9 @@ class RawConfigParser(_Parser):
|
||||
) -> None: ...
|
||||
|
||||
def __len__(self) -> int: ...
|
||||
def __getitem__(self, key: str) -> SectionProxy: ...
|
||||
def __setitem__(self, key: str, value: _Section) -> None: ...
|
||||
def __delitem__(self, key: str) -> None: ...
|
||||
def __getitem__(self, key: _SectionName) -> SectionProxy: ...
|
||||
def __setitem__(self, key: _SectionName, value: _Section) -> None: ...
|
||||
def __delitem__(self, key: _SectionName) -> None: ...
|
||||
def __iter__(self) -> Iterator[str]: ...
|
||||
def __contains__(self, key: object) -> bool: ...
|
||||
def defaults(self) -> _Section: ...
|
||||
|
||||
Reference in New Issue
Block a user