mirror of
https://github.com/django/django.git
synced 2025-05-04 22:17:34 +00:00
In Python 3, the str type has an __iter__ attribute. Therefore, the presence of an __iter__ attribute is not sufficient to distinguish 'standard' iterables (list, tuple) from strings.