theano/gof/cmodule.py
def delete_keys_from(self, entry_from_key, do_manual_check=True):
        """
        Delete from entry_from_key all keys associated to this KeyData object.

        Note that broken keys will not appear in the keys field, so we also
        manually look for keys associated to the same entry, unless
        do_manual_check is False.

        """
        entry = self.get_entry()
        for key in self.keys:
            try:
                del entry_from_key[key]
            except KeyError:
                # This happen if the compiledir was deleted during
                # this process execution.
                pass
        if do_manual_check:
            to_del = []
            for key, key_entry in iteritems(entry_from_key):
                if key_entry == entry:
                    to_del.append(key)
            for key in to_del:
                try:
                    del entry_from_key[key]
                except KeyError:
                    # This happen if the compiledir was deleted during
                    # this process execution.
                    pass

        Delete from entry_from_key all keys associated to this KeyData object.

        Note that broken keys will not appear in the keys field, so we also
        manually look for keys associated to the same entry, unless
        do_manual_check is False.

        
Delete from entry_from_key all keys associated to this KeyData object.
Note that broken keys will not appear in the keys field, so we also
manually look for keys associated to the same entry, unless
do_manual_check is False.
Delete from entry_from_key all keys associated to this KeyData object . Note that broken keys will not appear in the keys field so we also manually look for keys associated to the same entry unless do_manual_check is False .
def delete_keys_from(self, entry_from_key, do_manual_check=True):
        entry = self.get_entry()
        for key in self.keys:
            try:
                del entry_from_key[key]
            except KeyError:
                pass
        if do_manual_check:
            to_del = []
            for key, key_entry in iteritems(entry_from_key):
                if key_entry == entry:
                    to_del.append(key)
            for key in to_del:
                try:
                    del entry_from_key[key]
                except KeyError:
                    pass
def delete_keys_from ( self , entry_from_key , do_manual_check = True ) : entry = self . get_entry ( ) for key in self . keys : try : del entry_from_key [ key ] except KeyError : pass if do_manual_check : to_del = [ ] for key , key_entry in iteritems ( entry_from_key ) : if key_entry == entry : to_del . append ( key ) for key in to_del : try : del entry_from_key [ key ] except KeyError : pass
Delete from entry_from_key all keys associated to this KeyData object.
Delete from entry_from_key all keys associated to this KeyData object .
"""
        Delete from entry_from_key all keys associated to this KeyData object.

        Note that broken keys will not appear in the keys field, so we also
        manually look for keys associated to the same entry, unless
        do_manual_check is False.

        """ # This happen if the compiledir was deleted during # this process execution. # This happen if the compiledir was deleted during # this process execution.
self
entry_from_key
do_manual_check