[Python-checkins] peps: Spell check and wrap.

barry.warsaw python-checkins at python.org
Fri Oct 18 19:25:06 CEST 2013


http://hg.python.org/peps/rev/929b45d8e044
changeset:   5199:929b45d8e044
user:        Barry Warsaw <barry at python.org>
date:        Fri Oct 18 13:24:59 2013 -0400
summary:
  Spell check and wrap.

files:
  pep-0447.txt |  13 +++++++------
  1 files changed, 7 insertions(+), 6 deletions(-)


diff --git a/pep-0447.txt b/pep-0447.txt
--- a/pep-0447.txt
+++ b/pep-0447.txt
@@ -48,7 +48,7 @@
 peeks in the class ``__dict__``), and that can be problematic for
 dynamic classes that can grow new methods on demand.
 
-The ``__locallookup__`` method makes it possible to dynamicly add
+The ``__locallookup__`` method makes it possible to dynamically add
 attributes even when looking them up using the `super class`_.
 
 The new method affects ``object.__getattribute__`` (and
@@ -138,8 +138,9 @@
 
     PyObject* (*locallookupfunc)(PyTypeObject* cls, PyObject* name);
 
-This method should lookup *name* in the namespace of *cls*, without looking
-at superclasses, and should not invoke descriptors. The method returns ``NULL`` without setting an exception when the *name* cannot be found, and returns a
+This method should lookup *name* in the namespace of *cls*, without looking at
+superclasses, and should not invoke descriptors. The method returns ``NULL``
+without setting an exception when the *name* cannot be found, and returns a
 new reference otherwise (not a borrowed reference).
 
 Use of this hook by the interpreter
@@ -173,7 +174,7 @@
 machine an Core i7 processor running Centos 6.4.
 
 Even though the machine was idle there were clear differences between runs,
-I've seen difference in "minimum time" vary from -0.1% to +1.5%, with simular
+I've seen difference in "minimum time" vary from -0.1% to +1.5%, with similar
 (but slightly smaller) differences in the "average time" difference.
 
 ::
@@ -395,8 +396,8 @@
 
     def __getattribute_super__(cls, name, object, owner): pass
 
-This method performed name lookup as well as invoking descriptors and was necessarily
-limited to working only with ``super.__getattribute__``.
+This method performed name lookup as well as invoking descriptors and was
+necessarily limited to working only with ``super.__getattribute__``.
 
 
 Reuse ``tp_getattro``

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list