[pypy-issue] [issue1555] "bug" on http://www.pypy.org/performance.html
Manuel Ebert
tracker at bugs.pypy.org
Tue Jul 23 17:19:11 CEST 2013
New submission from Manuel Ebert <manuel at 1450.me>:
Under "String concatenation is expensive", it suggests using
s = "%(head)s%(body)s%(maybe)s%(tail)s" % locals()
or
s = "{head}{body}{maybe}{tail}".format(locals())
The latter should read `.format(**locals())` instead.
----------
messages: 5974
nosy: maebert, pypy-issue
priority: bug
status: unread
title: "bug" on http://www.pypy.org/performance.html
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1555>
________________________________________
More information about the pypy-issue
mailing list