]> granicus.if.org Git - python/commitdiff
More markup and spelling fixes.
authorRaymond Hettinger <python@rcn.com>
Wed, 25 Feb 2009 00:58:47 +0000 (00:58 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 25 Feb 2009 00:58:47 +0000 (00:58 +0000)
Doc/library/functions.rst

index 9d843d9de5fa6662610e914815b27af045e43f8d..4c06058d4c329b0b9318d7a4c61df01d9204d2b6 100644 (file)
@@ -1050,19 +1050,19 @@ are always available.  They are listed here in alphabetical order.
    been overridden in a class. The search order is same as that used by
    :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.
+   The :attr:`__mro__` attribute of the *type* lists the method resolution
+   search order used by both :func:`getattr` and :func:`super`.  The attribute
+   is dynamic and can change whenever the inheritance hierarchy is updated.
 
    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).
 
-   There are two typical use cases for "super".  In a class hierarchy with
-   single inheritance, "super" can be used to refer to parent classes without
+   There are two typical use cases for *super*.  In a class hierarchy with
+   single inheritance, *super* can be used to refer to parent classes without
    naming them explicitly, thus making the code more maintainable.  This use
-   closely parallels the use of "super" in other programming languages.
+   closely parallels the use of *super* in other programming languages.
 
    The second use case is to support cooperative multiple inheritance in a
    dynamic execution environment.  This use case is unique to Python and is