[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()


    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>

More information about the pypy-issue mailing list