We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aa9960 commit 9d22146Copy full SHA for 9d22146
3 files changed
.mpython/templates/class_header.py
@@ -1,7 +1,8 @@
1
-from mpython import Runtime, MatlabClass
+from mpython import MatlabClass
2
+from spm._runtime import Runtime, RuntimeMixin
3
4
-class <classname>(MatlabClass):
5
+class <classname>(RuntimeMixin, MatlabClass):
6
def __init__(self, *args, **kwargs):
7
<docstring>
8
super().__init__()
.mpython/templates/function_header.py
@@ -0,0 +1 @@
+from spm._runtime import Runtime
.mpython/templates/init.py
@@ -0,0 +1,12 @@
+from mpython import (
+ MatlabClass,
+ MatlabFunction,
+ Cell,
+ Struct,
+ Array,
+ SparseArray,
+)
9
+from ._runtime import Runtime
10
+from ._version import __version__
11
+
12
+<imports>
0 commit comments