mirror of
https://github.com/pybind/pybind11.git
synced 2024-12-01 09:27:12 +00:00
10 lines
195 B
Python
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
|