def _reset(self, input=None, filename=None):
        self._spaces  = ''
        self.script   = None
        self.bytecode = None
        self.input    = input
        self.filename = filename
        if input != None:
            i = input.find("\n")
            if i < 0:
                self.newline = "\n"   # or None
            elif len(input) >= 2 or input[i-1] == "\r":
                self.newline = "\r\n"
            else:
                self.newline = "\n"
dataset/ETHPy150Open rst2pdf/rst2pdf/rst2pdf/tenjin.py/Template._reset/operator `and` -> `or`