Fix typo in python3 compatibility