summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-08-08 17:59:31 +0200
committerClaude Paroz <claude@2xlibre.net>2012-08-08 18:02:25 +0200
commitdb729266d6feb3b4b4519bd789c4693b9aac00d1 (patch)
tree347dcf5c5e077d003ce2d6f62d8614182794b63d /tests/regressiontests/admin_scripts
parent0955d16a165e9da2f69813cc9983fd10dddbfa62 (diff)
[py3] Fixed 'iterable but non string' detection
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.
Diffstat (limited to 'tests/regressiontests/admin_scripts')
0 files changed, 0 insertions, 0 deletions