[pypy-commit] pypy.org extradoc: Typo (thanks tshepang)
arigo
noreply at buildbot.pypy.org
Sun Apr 7 13:35:20 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: extradoc
Changeset: r392:530358f34f23
Date: 2013-04-07 13:35 +0200
http://bitbucket.org/pypy/pypy.org/changeset/530358f34f23/
Log: Typo (thanks tshepang)
diff --git a/performance.html b/performance.html
--- a/performance.html
+++ b/performance.html
@@ -179,7 +179,7 @@
<h2>Old- vs. new-style classes</h2>
<p>New-style classes allow faster attribute access and take up less core
per instance than old-style classes. Much of this advantage may be
-lostm, however, if attribute names are not constant. For example: x.a
+lost, however, if attribute names are not constant. For example: x.a
= y or even setattr(x, ‘a’, y) will be much faster than a dynamic
version: setattr(x, ‘a’ + some_variable, y).</p>
<p>Classes that inherit from both new- and old-style classes are
diff --git a/source/performance.txt b/source/performance.txt
--- a/source/performance.txt
+++ b/source/performance.txt
@@ -160,7 +160,7 @@
New-style classes allow faster attribute access and take up less core
per instance than old-style classes. Much of this advantage may be
-lostm, however, if attribute names are not constant. For example: x.a
+lost, however, if attribute names are not constant. For example: x.a
= y or even setattr(x, 'a', y) will be much faster than a dynamic
version: setattr(x, 'a' + some_variable, y).
More information about the pypy-commit
mailing list