Got python and C versions to agree