MCPcopy Create free account
hub / github.com/pybind/pybind11 / __contains__

Method __contains__

tests/test_stl.py:703–704  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

701 return len(self.data)
702
703 def __contains__(self, item):
704 return item in self.data
705
706 def __iter__(self):
707 yield from self.data

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected