def METHOD_NAME(self, line):
    """Make a reference to the same file, but different line.
    Avoids useless copies, by returning same object if the line is
    the same.
    """
    assert type(line) is int, line
    if self.line != line:
        return self._clone(line)
    else:
        return self