Exemplo n.º 1
0
 def __init__(self, pycore, ast_node, parent):
     rope.base.pyobjects.AbstractFunction.__init__(self)
     rope.base.pyobjects.PyDefinedObject.__init__(self, pycore, ast_node, parent)
     self.arguments = self.ast_node.args
     self.parameter_pyobjects = pynames._Inferred(self._infer_parameters, self.get_module()._get_concluded_data())
     self.returned = pynames._Inferred(self._infer_returned)
     self.parameter_pynames = None
Exemplo n.º 2
0
 def __init__(self, pycore, ast_node, parent):
     AbstractFunction.__init__(self)
     PyDefinedObject.__init__(self, pycore, ast_node, parent)
     self.arguments = self.ast_node.args
     self.parameter_pyobjects = pynames._Inferred(
         self._infer_parameters, self.get_module()._get_concluded_data())
     self.returned = pynames._Inferred(self._infer_returned)
     self.parameter_pynames = None