def __init__(self, parser=None, settings=None): self.assert_contiguous = settings.pop('assert_contiguous', False) self.parser = parser SympyPythonCodePrinter.__init__(self, settings=settings)
def __init__(self, end=''): PythonCodePrinter.__init__(self) self.end = end