diff options
author | Raymond Hettinger <python@rcn.com> | 2013-01-19 07:23:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-01-19 07:23:11 (GMT) |
commit | ac7b49f4076a4336915d13a4aa19feaeadd29d62 (patch) | |
tree | ef9b655ef716a8afc6370f73d3557801f2e5abaf | |
parent | b077f9ce9f74fa88b541f90591a121432e00e008 (diff) | |
download | cpython-ac7b49f4076a4336915d13a4aa19feaeadd29d62.zip cpython-ac7b49f4076a4336915d13a4aa19feaeadd29d62.tar.gz cpython-ac7b49f4076a4336915d13a4aa19feaeadd29d62.tar.bz2 |
Improve tooltips by listing the most common argument pattern first.
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" |