From 7c98a6d4dceecc5dd8b117212e07630d625e6565 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 16 Feb 2009 23:00:25 +0000 Subject: [PATCH] Add explanation for super(type1, type2). --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 7f5fa3ab2f4..fbb3f87367e 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1175,7 +1175,7 @@ available. They are listed here in alphabetical order. 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. + ``issubclass(type2, type)`` must be true (this is useful for classmethods). .. note:: :func:`super` only works for :term:`new-style class`\es.