MCPcopy Index your code
hub / github.com/python/cpython / eval

Method eval

Lib/test/test_zipfile/_path/_test_params.py:38–39  ·  view source on GitHub ↗
(cls, cand)

Source from the content-addressed store, hash-verified

36
37 @classmethod
38 def eval(cls, cand):
39 return cand.func() if isinstance(cand, cls) else cand

Callers 15

theme_useMethod · 0.80
testEvalMethod · 0.80
testSetVarMethod · 0.80
testSetVarArrayMethod · 0.80
testGetVarMethod · 0.80
testGetVarArrayMethod · 0.80

Calls 1

funcMethod · 0.45

Tested by

no test coverage detected