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

Method __contains__

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

Source from the content-addressed store, hash-verified

1316 raise KeyError(key)
1317
1318 def __contains__(self, key):
1319 return self._parser.has_option(self._name, key)
1320
1321 def __len__(self):
1322 return len(self._options())

Callers

nothing calls this directly

Calls 1

has_optionMethod · 0.45

Tested by

no test coverage detected