[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.16.8.73,2.16.8.74
Guido van Rossum
gvanrossum@users.sourceforge.net
Wed, 01 Aug 2001 14:01:11 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv15261
Modified Files:
Tag: descr-branch
typeobject.c
Log Message:
Clarify the wrapper doc strings for __init__() and next().
SF bug #446874.
Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.16.8.73
retrieving revision 2.16.8.74
diff -C2 -d -r2.16.8.73 -r2.16.8.74
*** typeobject.c 2001/08/01 03:56:39 2.16.8.73
--- typeobject.c 2001/08/01 21:01:09 2.16.8.74
***************
*** 1753,1757 ****
static struct wrapperbase tab_next[] = {
{"next", (wrapperfunc)wrap_next,
! "x.next() -> get the next value, or raise StopIteration"},
{0}
};
--- 1753,1757 ----
static struct wrapperbase tab_next[] = {
{"next", (wrapperfunc)wrap_next,
! "x.next() -> the next value, or raise StopIteration"},
{0}
};
***************
*** 1813,1817 ****
static struct wrapperbase tab_init[] = {
{"__init__", (wrapperfunc)wrap_init,
! "x.__init__() -> initialize object"},
{0}
};
--- 1813,1818 ----
static struct wrapperbase tab_init[] = {
{"__init__", (wrapperfunc)wrap_init,
! "x.__init__(...) initializes x; "
! "see x.__type__.__doc__ for signature"},
{0}
};