MCPcopy Index your code
hub / github.com/go-python/gopy / MyClass

Class MyClass

_examples/funcs/test.py:27–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 return True
26
27class MyClass(go.GoClass):
28 def __init__(self, *args, **kwargs):
29 self.misc = 2
30
31 def ClassFun(self, afs, ival, sval):
32 tfs = funcs.FunStruct(handle=afs)
33 print("in python class fun: FieldI: ", tfs.FieldI, " FieldS: ", tfs.FieldS, " ival: ", ival, " sval: ", sval)
34
35 def CallSelf(self):
36 fs.CallBack(77, self.ClassFun)
37
38print("fs.CallBack(22, cbfun)...")
39fs.CallBack(22, cbfun)

Callers 1

test.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected