o �]Lb� � @ s0 d Z ddlmZ dZdd� Zdd� Zdd � Zd S )z7Compute a resolution order for an object and its bases � )�absolute_import�restructuredtextc C sD i }g }t | �D ]}t |�D ]}||vrd||<