diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-16 20:26:04 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-08-16 20:26:04 (GMT) |
commit | 102594f7ff7794e9e4d9619447e252f188241ff0 (patch) | |
tree | e5b75e9a05036ce7950054a9b2dc51edbfb6a4bf /Objects | |
parent | 7a9bdbc1c2214bec2133139dd8830f17e0383eed (diff) | |
download | cpython-102594f7ff7794e9e4d9619447e252f188241ff0.zip cpython-102594f7ff7794e9e4d9619447e252f188241ff0.tar.gz cpython-102594f7ff7794e9e4d9619447e252f188241ff0.tar.bz2 |
Merged revisions 84106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84106 | alexander.belopolsky | 2010-08-16 16:17:07 -0400 (Mon, 16 Aug 2010) | 1 line
Issue #8983: Corrected docstrings.
........
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index a94508d..3bf4e90 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2505,7 +2505,7 @@ static PyMethodDef type_methods[] = { {"__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} }; @@ -5532,7 +5532,7 @@ static slotdef slotdefs[] = { 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, ""), |