MCPcopy Create free account
hub / github.com/Singular/Singular / __call__

Method __call__

Singular/dyn_modules/openmath/objects.py:143–149  ·  view source on GitHub ↗
(self, context, *args)

Source from the content-addressed store, hash-verified

141 "do the actual computation"
142 return context.evaluateInScope(self.block, self.scope)
143 def __call__(self, context, *args):
144 assert self.bounded
145 self.bind(args)
146 erg = self.calcErg(context)
147 self.unbind()
148 #print "__call__ erg is", erg
149 return erg
150
151 XMLtag = "OMBIND"
152 def getChildren(self):

Callers

nothing calls this directly

Calls 3

bindMethod · 0.95
calcErgMethod · 0.95
unbindMethod · 0.95

Tested by

no test coverage detected