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

Method run

tests/test_virtual_functions.py:19–21  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

17 self.data = "Hello world"
18
19 def run(self, value):
20 print(f"ExtendedExampleVirt::run({value}), calling parent..")
21 return super().run(value + 1)
22
23 def run_bool(self):
24 print("ExtendedExampleVirt::run_bool()")

Callers

nothing calls this directly

Calls 1

printFunction · 0.85

Tested by

no test coverage detected