```
 if isinstance(text[item], integer_types):
```
?