]> granicus.if.org Git - python/commitdiff
Improve tooltips by listing the most common argument pattern first.
authorRaymond Hettinger <python@rcn.com>
Sat, 19 Jan 2013 07:23:11 +0000 (23:23 -0800)
committerRaymond Hettinger <python@rcn.com>
Sat, 19 Jan 2013 07:23:11 +0000 (23:23 -0800)
Objects/typeobject.c

index 339e69ec4b971ed656d9094e68d9d58639b2994a..0a79f8bef82d20d1c21068011de8df0939cfc6c0 100644 (file)
@@ -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"