

def __remove(self, project_name, filename):
    if (project_name not in self.history):
        return
    for history_type in ('opened', 'closed'):
        for node in iter(self.history[project_name][history_type]):
            if (self['filename'] == filename):
                self.history[project_name][history_type].remove(node)

dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py FileHistory.__remove/VarMisuse@60/81 `node`->`self`