From f5a3fb730f24f4ce49c5327d6d2c1823a912f8ea Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 30 Aug 2008 13:17:39 +0000 Subject: [PATCH] super() actually returns a super object. --- Doc/library/functions.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index d463924f37..75bca72a10 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1215,7 +1215,8 @@ available. They are listed here in alphabetical order. .. 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 -- 2.49.0