Mercurial > cpython-lru_cache-weakref
diff Objects/typeobject.c @ 64076:e3df34544db9
Issue #8983: Corrected docstrings.
| author | Alexander Belopolsky <alexander.belopolsky@gmail.com> |
|---|---|
| date | Mon, 16 Aug 2010 20:17:07 +0000 |
| parents | fa2d9720a66c |
| children | 8330346b5c5f |
line wrap: on
line diff
--- a/Objects/typeobject.c Mon Aug 16 20:10:39 2010 +0000 +++ b/Objects/typeobject.c Mon Aug 16 20:17:07 2010 +0000 @@ -2515,7 +2515,7 @@ {"__instancecheck__", type___instancecheck__, METH_O, PyDoc_STR("__instancecheck__() -> check if an object is an instance")}, {"__subclasscheck__", type___subclasscheck__, METH_O, - PyDoc_STR("__subclasschck__ -> check if an class is a subclass")}, + PyDoc_STR("__subclasscheck__() -> check if a class is a subclass")}, {0} }; @@ -5521,7 +5521,7 @@ wrap_descr_delete, "descr.__delete__(obj)"), FLSLOT("__init__", tp_init, slot_tp_init, (wrapperfunc)wrap_init, "x.__init__(...) initializes x; " - "see x.__class__.__doc__ for signature", + "see help(type(x)) for signature", PyWrapperFlag_KEYWORDS), TPSLOT("__new__", tp_new, slot_tp_new, NULL, ""), TPSLOT("__del__", tp_del, slot_tp_del, NULL, ""),
