mirror of https://github.com/python/cpython
Revert a reversed comparison order introduced in r70695.
This commit is contained in:
parent
ef3062f7af
commit
4a5e5de03f
|
@ -2091,7 +2091,7 @@ array_repr(arrayobject *a)
|
|||
if (len == 0) {
|
||||
return PyUnicode_FromFormat("array('%c')", (int)typecode);
|
||||
}
|
||||
if ('u' == typecode)
|
||||
if (typecode == 'u')
|
||||
v = array_tounicode(a, NULL);
|
||||
else
|
||||
v = array_tolist(a, NULL);
|
||||
|
|
Loading…
Reference in New Issue