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

Method __delitem__

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

Source from the content-addressed store, hash-verified

1311 return self._parser.set(self._name, key, value)
1312
1313 def __delitem__(self, key):
1314 if not (self._parser.has_option(self._name, key) and
1315 self._parser.remove_option(self._name, key)):
1316 raise KeyError(key)
1317
1318 def __contains__(self, key):
1319 return self._parser.has_option(self._name, key)

Callers

nothing calls this directly

Calls 2

has_optionMethod · 0.45
remove_optionMethod · 0.45

Tested by

no test coverage detected