def _finish_inheritance(self):
while self._inheritance_todos:<EOL><INDENT>prototype, parent_id = self._inheritance_todos.pop()<EOL>parent = self._id_cache[parent_id]<EOL>prototype.inherit_from(parent)<EOL><DEDENT>
Finish those who still need to inherit.