MCPcopy
hub / github.com/fluentpython/example-code-2e / __call__

Method __call__

18-with-match/lispy/original/lispy.py:26–27  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

24 def __init__(self, parms, exp, env):
25 self.parms, self.exp, self.env = parms, exp, env
26 def __call__(self, *args):
27 return eval(self.exp, Env(self.parms, args, self.env))
28
29################ parse, read, and user interaction
30

Callers

nothing calls this directly

Calls 2

EnvClass · 0.85
evalFunction · 0.70

Tested by

no test coverage detected