diff options
author | Brett Cannon <brett@python.org> | 2011-06-07 20:09:32 -0700 |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2011-06-07 20:09:32 -0700 |
commit | 4a5e5de03f47b7076fc0eabc9817a59efd20049d (patch) | |
tree | 79808972d8b912325272d6635c174787f97a6a1f /Modules/arraymodule.c | |
parent | ef3062f7afec3a6f291050beaa6ef5d56f7047f3 (diff) | |
download | cpython-git-4a5e5de03f47b7076fc0eabc9817a59efd20049d.tar.gz |
Revert a reversed comparison order introduced in r70695.
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 38ae5c7387..ae68c15e77 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -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); |