python create literal type