MCPcopy Index your code
hub / github.com/python/cpython / __getitem__

Method __getitem__

Lib/configparser.py:1017–1020  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

1015 return existed
1016
1017 def __getitem__(self, key):
1018 if key != self.default_section and not self.has_section(key):
1019 raise KeyError(key)
1020 return self._proxies[key]
1021
1022 def __setitem__(self, key, value):
1023 # To conform with the mapping protocol, overwrites existing values in

Callers

nothing calls this directly

Calls 1

has_sectionMethod · 0.95

Tested by

no test coverage detected