[py] sample for multiple heritance