Commit 4a5e5de0 authored by Brett Cannon's avatar Brett Cannon

Revert a reversed comparison order introduced in r70695.

parent ef3062f7
...@@ -2091,7 +2091,7 @@ array_repr(arrayobject *a) ...@@ -2091,7 +2091,7 @@ array_repr(arrayobject *a)
if (len == 0) { if (len == 0) {
return PyUnicode_FromFormat("array('%c')", (int)typecode); return PyUnicode_FromFormat("array('%c')", (int)typecode);
} }
if ('u' == typecode) if (typecode == 'u')
v = array_tounicode(a, NULL); v = array_tounicode(a, NULL);
else else
v = array_tolist(a, NULL); v = array_tolist(a, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment