[Python-checkins] CVS: python/dist/src/Objects typeobject.c,2.16.8.63,2.16.8.64
Tim Peters
tim_one@users.sourceforge.net
Sat, 07 Jul 2001 21:30:31 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv20230/descr/dist/src/Objects
Modified Files:
Tag: descr-branch
typeobject.c
Log Message:
test_generators.py
Passes again.
ceval.c
Redid genobject type object to use PyObject_GenericGetAttr; got
rid of genobject's custom getattr routine.
typeobject.c
Improved the docstring wrapperbase tab_next uses for .next().
PLAN.txt
Added note about major (IMO) lost dir() functionality (one of the
reasons test_generators.py failed is that dir(object) usually
returns an empty list now).
Index: typeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/typeobject.c,v
retrieving revision 2.16.8.63
retrieving revision 2.16.8.64
diff -C2 -r2.16.8.63 -r2.16.8.64
*** typeobject.c 2001/07/07 22:55:30 2.16.8.63
--- typeobject.c 2001/07/08 04:30:29 2.16.8.64
***************
*** 1734,1738 ****
static struct wrapperbase tab_next[] = {
! {"next", (wrapperfunc)wrap_next, "x.next() -> next value"},
{0}
};
--- 1734,1739 ----
static struct wrapperbase tab_next[] = {
! {"next", (wrapperfunc)wrap_next,
! "x.next() -> get the next value, or raise StopIteration"},
{0}
};