From ac7b49f4076a4336915d13a4aa19feaeadd29d62 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 18 Jan 2013 23:23:11 -0800 Subject: Improve tooltips by listing the most common argument pattern first. --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 339e69e..0a79f8b 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -6679,8 +6679,8 @@ super_init(PyObject *self, PyObject *args, PyObject *kwds) } PyDoc_STRVAR(super_doc, -"super(type) -> unbound super object\n" "super(type, obj) -> bound super object; requires isinstance(obj, type)\n" +"super(type) -> unbound super object\n" "super(type, type2) -> bound super object; requires issubclass(type2, type)\n" "Typical use to call a cooperative superclass method:\n" "class C(B):\n" -- cgit v0.12