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

Method pure_virtual

tests/test_virtual_functions.py:30–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 return "override1"
29
30 def pure_virtual(self):
31 print(f"ExtendedExampleVirt::pure_virtual(): {self.data}")
32
33 class ExtendedExampleVirt2(ExtendedExampleVirt):
34 def __init__(self, state):

Callers 1

TEST_SUBMODULEFunction · 0.80

Calls 1

printFunction · 0.85

Tested by

no test coverage detected