[Python-checkins] python/dist/src/Doc/ext newtypes.tex,1.29,1.30
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
2003年6月28日 08:22:18 -0700
- Previous message: [Python-checkins] python/dist/src/Doc/ext noddy4.c,NONE,1.1 newtypes.tex,1.28,1.29 setup.py,1.1,1.2 test.py,1.1,1.2 cycle-gc.c,1.1,NONE
- Next message: [Python-checkins] python/dist/src/Objects floatobject.c,2.123,2.124 intobject.c,2.104,2.105 longobject.c,1.160,1.161 unicodeobject.c,2.188,2.189
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/ext
In directory sc8-pr-cvs1:/tmp/cvs-serv9903
Modified Files:
newtypes.tex
Log Message:
A few minor improvements
Index: newtypes.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/newtypes.tex,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** newtypes.tex 28 Jun 2003 13:29:16 -0000 1.29
--- newtypes.tex 28 Jun 2003 15:22:16 -0000 1.30
***************
*** 724,729 ****
For each subobject that can participate in cycles, we need to call the
! \cfunction{visit} function passed to the traversal method passing the
! subobject and the extra argument passed to the traversal method.
We also need to provide a method for clearing any subobjects that can
--- 724,730 ----
For each subobject that can participate in cycles, we need to call the
! \cfunction{visit} function, which is passed to the traversal method.
! The \cfunction{visit} function takes as arguments the subobject and
! the extra argument \var{arg} passed to the traversal method.
We also need to provide a method for clearing any subobjects that can
***************
*** 758,762 ****
That's pretty much it. If we had written custom \member{tp_alloc} or
! \member{tp_free} slots, we'd need to modify then for cyclic-garbage
collection. Most extensions will use the versions automatically
provided.
--- 759,763 ----
That's pretty much it. If we had written custom \member{tp_alloc} or
! \member{tp_free} slots, we'd need to modify them for cyclic-garbage
collection. Most extensions will use the versions automatically
provided.
- Previous message: [Python-checkins] python/dist/src/Doc/ext noddy4.c,NONE,1.1 newtypes.tex,1.28,1.29 setup.py,1.1,1.2 test.py,1.1,1.2 cycle-gc.c,1.1,NONE
- Next message: [Python-checkins] python/dist/src/Objects floatobject.c,2.123,2.124 intobject.c,2.104,2.105 longobject.c,1.160,1.161 unicodeobject.c,2.188,2.189
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]