mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-08 10:00:29 +08:00
first commit
This commit is contained in:
14
third_party/pybind11/tests/test_embed/test_interpreter.py
vendored
Normal file
14
third_party/pybind11/tests/test_embed/test_interpreter.py
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import sys
|
||||
|
||||
from widget_module import Widget
|
||||
|
||||
|
||||
class DerivedWidget(Widget):
|
||||
def __init__(self, message):
|
||||
super().__init__(message)
|
||||
|
||||
def the_answer(self):
|
||||
return 42
|
||||
|
||||
def argv0(self):
|
||||
return sys.argv[0]
|
Reference in New Issue
Block a user