mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-09-30 23:22:26 +08:00
configparser: allow ConfigParser()[UNNAMED_SECTION] (#14759)
This commit is contained in:
1 parent
ad3d8498eb
commit
b195038142
1 file changed
+3
-3
@@ -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