make typ work w/ Python3