[Python-checkins] r66067 - python/trunk/Doc/library/functions.rst

georg.brandl python-checkins at python.org
Sat Aug 30 15:17:39 CEST 2008


Author: georg.brandl
Date: Sat Aug 30 15:17:39 2008
New Revision: 66067

Log:
super() actually returns a super object.


Modified:
   python/trunk/Doc/library/functions.rst

Modified: python/trunk/Doc/library/functions.rst
==============================================================================
--- python/trunk/Doc/library/functions.rst	(original)
+++ python/trunk/Doc/library/functions.rst	Sat Aug 30 15:17:39 2008
@@ -1215,7 +1215,8 @@
 
 .. function:: super(type[, object-or-type])
 
-   Return the superclass of *type*.  If the second argument is omitted the super
+   Return a "super" object that acts like the superclass of *type*.
+   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. :func:`super` only works for


More information about the Python-checkins mailing list