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

Method __init__

tests/test_stl.py:650–651  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

648 # Implements the Mapping protocol without explicitly inheriting from collections.abc.Mapping.
649 class BareMappingLike:
650 def __init__(self, **kwargs):
651 self.data = dict(kwargs)
652
653 def __len__(self):
654 return len(self.data)

Callers

nothing calls this directly

Calls 1

dictClass · 0.85

Tested by

no test coverage detected