[pypy-commit] pypy unicode-utf8: I _think_ it was meant to be like that, or else the interface is very obscure
arigo
pypy.commits at gmail.com
Wed Dec 6 04:59:37 EST 2017
Author: Armin Rigo <arigo at 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:
More information about the pypy-commit
mailing list