[Python-checkins] python/dist/src/Doc/ext extending.tex, 1.11.6.2,
1.11.6.3
mwh at users.sourceforge.net
mwh at users.sourceforge.net
Fri Nov 7 07:25:55 EST 2003
Update of /cvsroot/python/python/dist/src/Doc/ext
In directory sc8-pr-cvs1:/tmp/cvs-serv15894
Modified Files:
Tag: release22-maint
extending.tex
Log Message:
Backport of 1.26:
Fix the problem addressed by patch
[ 819012 ] Fix for former/latter confusion in Extending documentation
although not by using supplied patch.
Though this backport actually includes the fix that caused the problem
in the first place!
Index: extending.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ext/extending.tex,v
retrieving revision 1.11.6.2
retrieving revision 1.11.6.3
diff -C2 -d -r1.11.6.2 -r1.11.6.3
*** extending.tex 16 May 2002 13:47:00 -0000 1.11.6.2
--- extending.tex 7 Nov 2003 12:25:53 -0000 1.11.6.3
***************
*** 1175,1186 ****
\label{refcounts}}
! In languages like C or \Cpp, the programmer is responsible for
! dynamic allocation and deallocation of memory on the heap. In C,
! this is done using the functions \cfunction{malloc()} and
! \cfunction{free()}. In \Cpp, the operators \keyword{new} and
! \keyword{delete} are used with essentially the same meaning; they are
! actually implemented using \cfunction{malloc()} and
! \cfunction{free()}, so we'll restrict the following discussion to the
! latter.
Every block of memory allocated with \cfunction{malloc()} should
--- 1175,1184 ----
\label{refcounts}}
! In languages like C or \Cpp, the programmer is responsible for dynamic
! allocation and deallocation of memory on the heap. In C, this is done
! using the functions \cfunction{malloc()} and \cfunction{free()}. In
! \Cpp, the operators \keyword{new} and \keyword{delete} are used with
! essentially the same meaning so we'll restrict the following
! discussion to the C case.
Every block of memory allocated with \cfunction{malloc()} should
More information about the Python-checkins
mailing list