code: def syntax_err(self):
          
          args = self.args[:2] + (None, None) + self.args[4:]
          err = SyntaxError(self.message(*args))
          err.offset = args[2]
          err.lineno = args[3]
          return err
docs: Creates a SyntaxError.