Python inheritance same function name