| 31 | print(f"ExtendedExampleVirt::pure_virtual(): {self.data}") |
| 32 | |
| 33 | class ExtendedExampleVirt2(ExtendedExampleVirt): |
| 34 | def __init__(self, state): |
| 35 | super().__init__(state + 1) |
| 36 | |
| 37 | def get_string2(self): |
| 38 | return "override2" |
| 39 | |
| 40 | ex12 = m.ExampleVirt(10) |
| 41 | with capture: |
no outgoing calls