kicad/thirdparty/pybind11/tests/test_embed/test_interpreter.py

16 lines
280 B
Python
Raw Normal View History

2021-03-08 14:54:22 +00:00
# -*- coding: utf-8 -*-
import sys
2021-03-08 14:54:22 +00:00
from widget_module import Widget
class DerivedWidget(Widget):
def __init__(self, message):
super(DerivedWidget, self).__init__(message)
def the_answer(self):
return 42
def argv0(self):
return sys.argv[0]