MCPcopy Index your code
hub / github.com/datacamp/pythonwhat / find

Method find

pythonwhat/State.py:288–289  ·  view source on GitHub ↗
(self, name, node, *args, **kwargs)

Source from the content-addressed store, hash-verified

286 self.context_mappings = self._getx(FunctionParser, "mappings", context_ast)
287
288 def find(self, name, node, *args, **kwargs):
289 return getattr(self, name)(node)
290
291 def parse(self, code):
292 res = asttokens.ASTTokens(code, parse=True)

Callers 9

testMethod · 0.80
check_nodeFunction · 0.80
check_functionFunction · 0.80
check_objectFunction · 0.80
has_importFunction · 0.80
has_printoutFunction · 0.80
test_object_accessedFunction · 0.80
test_bind_argsFunction · 0.80

Calls

no outgoing calls

Tested by 4

testMethod · 0.64
test_object_accessedFunction · 0.64
test_bind_argsFunction · 0.64