mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 22:52:01 +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
|