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

Method __len__

tests/test_stl.py:700–701  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

698 self.data = set(args)
699
700 def __len__(self):
701 return len(self.data)
702
703 def __contains__(self, item):
704 return item in self.data

Callers

nothing calls this directly

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected