Author: Armin Rigo <ar...@tunes.org>
Branch: unicode-utf8
Changeset: r93280:67e2516d5db6
Date: 2017-12-06 10:58 +0100
http://bitbucket.org/pypy/pypy/changeset/67e2516d5db6/

Log:    I _think_ it was meant to be like that, or else the interface is
        very obscure

diff --git a/targetunicode-bench.py b/targetunicode-bench.py
--- a/targetunicode-bench.py
+++ b/targetunicode-bench.py
@@ -33,7 +33,7 @@
     if len(argv) > 2 and argv[2] == "s":
         for i in range(int(argv[1])):
             res_l[0] = descr_upper_s(l[i % 100])
-    if len(argv) > 2 and argv[2] == "u":
+    elif len(argv) > 2 and argv[2] == "u":
         for i in range(int(argv[1])):
             res_l_2[0] = descr_upper_u(u_l[i % 100])
     else:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to