Mercurial > cpython-lru_cache-weakref
diff Objects/typeobject.c @ 81586:bfe38710d4e6 2.7
Improve tooltips by listing the most common argument pattern first.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Fri, 18 Jan 2013 23:23:11 -0800 |
| parents | a1671c795934 |
| children | 0082b7bf9501 |
line wrap: on
line diff
--- a/Objects/typeobject.c Fri Jan 18 18:07:58 2013 -0800 +++ b/Objects/typeobject.c Fri Jan 18 23:23:11 2013 -0800 @@ -6679,8 +6679,8 @@ } 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"
