[Python-checkins] r69951 - python/branches/py3k/Doc/library/functions.rst

raymond.hettinger python-checkins at python.org
Wed Feb 25 01:32:51 CET 2009


Author: raymond.hettinger
Date: Wed Feb 25 01:32:51 2009
New Revision: 69951

Log:
Tweak markup, grammar, and punctuation.

Modified:
   python/branches/py3k/Doc/library/functions.rst

Modified: python/branches/py3k/Doc/library/functions.rst
==============================================================================
--- python/branches/py3k/Doc/library/functions.rst	(original)
+++ python/branches/py3k/Doc/library/functions.rst	Wed Feb 25 01:32:51 2009
@@ -1051,10 +1051,10 @@
    :func:`getattr` except that the *type* itself is skipped.
 
    The ``__mro__`` attribute of the *type* lists the method resolution search
-   order used by both func:`getattr` and :func:`super`.  The attribue is dynamic
-   and can change whenever the inheritance hierarchy is updated.
+   order used by both :func:`getattr` and :func:`super`.  The attribue is
+   dynamic and can change whenever the inheritance hierarchy is updated.
 
-   If the second argument is omitted the super object returned is unbound.  If
+   If the second argument is omitted, the super object returned is unbound.  If
    the second argument is an object, ``isinstance(obj, type)`` must be true.  If
    the second argument is a type, ``issubclass(type2, type)`` must be true (this
    is useful for classmethods).
@@ -1087,8 +1087,8 @@
    Accordingly, :func:`super` is undefined for implicit lookups using statements or
    operators such as ``super()[name]``.
 
-   Also note that :func:`super` is not limited to use inside methods.  The
-   two argument specifies the arguments exactly and makes the appropriate
+   Also note that :func:`super` is not limited to use inside methods.  The two
+   argument form specifies the arguments exactly and makes the appropriate
    references.  The zero argument form automatically searches the stack frame
    for the class (``__class__``) and the first argument.
 


More information about the Python-checkins mailing list