pybind11/tests/test_embed/test_interpreter.py

10 lines
195 B
Python

from widget_module import Widget
class DerivedWidget(Widget):
def __init__(self, message):
super(DerivedWidget, self).__init__(message)
def the_answer(self):
return 42