summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-02-25 00:32:51 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-02-25 00:32:51 (GMT)
commit79d0434aa2ce0af19c9226e31c8c6dbf5caf23ca (patch)
treedcd14947028f90f4f53e0af212e8ef2a4be47d75 /Doc/library
parent95f285c7536fb77f485b49f9585f3860566dd462 (diff)
downloadcpython-79d0434aa2ce0af19c9226e31c8c6dbf5caf23ca.zip
cpython-79d0434aa2ce0af19c9226e31c8c6dbf5caf23ca.tar.gz
cpython-79d0434aa2ce0af19c9226e31c8c6dbf5caf23ca.tar.bz2
Tweak markup, grammar, and punctuation.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 3dfbb2b..9d843d9 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -1051,10 +1051,10 @@ are always available. They are listed here in alphabetical order.
: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 @@ are always available. They are listed here in alphabetical order.
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.