Beispiel #1
0
    def __init__(self, indent=4, function_name="score", *args, **kwargs):
        self.function_name = function_name

        cg = PythonCodeGenerator(indent=indent)
        super().__init__(cg, *args, **kwargs)
Beispiel #2
0
 def __init__(self, indent=4, *args, **kwargs):
     cg = PythonCodeGenerator(indent=indent)
     super(PythonInterpreter, self).__init__(cg, *args, **kwargs)
     self.with_exponent = False