cobra/core/dictlist.py
def _generate_index(self):
        """rebuild the _dict index"""
        self._dict = {v.id: k for k, v in enumerate(self)}
def _generate_index(self):
        """rebuild the _dict index"""
        self._dict = {v.id: k for k, v in enumerate(self)}
def _generate_index ( self ) : self . _dict = { v . id : k for k , v in enumerate ( self ) }
rebuild the _dict index
rebuild the _dict index