MCPcopy Create free account
hub / github.com/EasyIME/PIME / __contains__

Method __contains__

python/python3/tornado/options.py:169–171  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

167 return (opt.name for opt in self._options.values())
168
169 def __contains__(self, name: str) -> bool:
170 name = self._normalize_name(name)
171 return name in self._options
172
173 def __getitem__(self, name: str) -> Any:
174 return self.__getattr__(name)

Callers

nothing calls this directly

Calls 1

_normalize_nameMethod · 0.95

Tested by

no test coverage detected