Removing PyNumber_AsDouble, which is not needed