MCPcopy Index your code
hub / github.com/pyload/pyload / build_function

Method build_function

module/plugins/hoster/YoutubeCom.py:1062–1071  ·  view source on GitHub ↗
(self, argnames, code)

Source from the content-addressed store, hash-verified

1060 return f(args)
1061
1062 def build_function(self, argnames, code):
1063 def resf(argvals):
1064 local_vars = dict(zip(argnames, argvals))
1065 for stmt in code.split(';'):
1066 res, abort = self.interpret_statement(stmt, local_vars)
1067 if abort:
1068 break
1069 return res
1070
1071 return resf

Callers 2

extract_objectMethod · 0.95
extract_functionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected