mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
Revert a reversed comparison order introduced in r70695.
This commit is contained in:
parent
ef3062f7af
commit
4a5e5de03f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue