

def is_transient_view(self, window, view):
    if is_ST2:
        return False
    if (not view):
        return True
    elif (window.get_view_index(self)[1] == (- 1)):
        self.debug(("Detected possibly transient view with index = -1: '%s'" % view.file_name()))
        return True
    else:
        return (view == window.transient_view_in_group(window.active_group()))

dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py FileHistory.is_transient_view/VarMisuse@41/51 `view`->`self`