Commits

Anonymous committed bfe3871

Improve tooltips by listing the most common argument pattern first.

Comments (0)

Files changed (1)

Objects/typeobject.c

 }
 
 PyDoc_STRVAR(super_doc,
+"super(type, obj) -> bound super object; requires isinstance(obj, type)\n"
 "super(type) -> unbound super object\n"
-"super(type, obj) -> bound super object; requires isinstance(obj, type)\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"