Skip to content
Snippets Groups Projects
Commit 4b480b28 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Fixed #1555 -- fixed format(**locals()) example

parent 10f43ab2
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,7 @@
</pre>
<p>or even:</p>
<pre class="literal-block">
s = &quot;{head}{body}{maybe}{tail}&quot;.format(locals())
s = &quot;{head}{body}{maybe}{tail}&quot;.format(**locals())
</pre>
<p>Both of the latter forms avoid multiple-allocation overhead.
But PyPy's JIT makes the overhead of intermediate concatenations
......
......@@ -14,7 +14,7 @@
Theory at the Free University of Brussels (Belgium) in 2002, and
worked at the University of Southampton (UK) until 2005. He is
the author of Psyco, the first just-in-time compiler for Python.
He is one of the founders and lead developers of the PyPy project
He is one of the founders and lead developers of the PyPy project
which began in 2003. He has taken part in all areas, from the Python
language definition to the RPython translation framework,
including the garbage collector and the tracing just-in-time
......@@ -91,7 +91,7 @@
Håkan Ardö
==========
.. image:: image/people/hakanardo.jpg
.. image:: image/people/hakanardo.jpg
Håkan Ardö received his master of science degree in electrical
engineering from Lund University in 2002. He specialized in
......@@ -104,7 +104,7 @@
intersection or road segment. He is currently working part time as a
postdoc at the Centre for Mathematical Sciences of Lund University
continuing this work and part time as CTO with a spinoff company
Cognimatics. His contributions to PyPy started 2010 and consists of
Cognimatics. His contributions to PyPy started 2010 and consists of
the array module as well as work on the JIT compiler's trace optimizers.
Holger Krekel
......@@ -122,7 +122,7 @@
holds a summa cum laude degree in computer science with a thesis about
artificial intelligence applied to the game of Go. As of 2011 he is on
another sabbatical-ish leave, caring for his newborn son, travelling
and pondering what comes next. Other than that he continues to care
and pondering what comes next. Other than that he continues to care
for testing and some PyPy co-ordination bits behind the scene.
.. _`py.test`: http://pytest.org
......
......@@ -183,7 +183,7 @@
or even::
s = "{head}{body}{maybe}{tail}".format(locals())
s = "{head}{body}{maybe}{tail}".format(**locals())
Both of the latter forms avoid multiple-allocation overhead.
But PyPy's JIT makes the overhead of intermediate concatenations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment