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

Class StoreResultVisitor

tests/test_virtual_functions.py:282–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 (lambda: visitor(Data(first.value + second.value)))() # noqa: PLC3002
281
282 class StoreResultVisitor:
283 def __init__(self):
284 self.result = None
285
286 def __call__(self, data):
287 self.result = data.value
288
289 store = StoreResultVisitor()
290

Callers 1

Calls

no outgoing calls

Tested by 1