diff options
author | Michael W. Hudson <mwh@python.net> | 2003-02-06 18:38:11 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2003-02-06 18:38:11 (GMT) |
commit | 241c2e969241dee0a02bed70940d2d12ccfdec63 (patch) | |
tree | f096584b082335bce697544d698062cd0b294a04 /Doc/ext | |
parent | 847f37543f99d03c7d7d80a7efd816483a75aae1 (diff) | |
download | cpython-241c2e969241dee0a02bed70940d2d12ccfdec63.zip cpython-241c2e969241dee0a02bed70940d2d12ccfdec63.tar.gz cpython-241c2e969241dee0a02bed70940d2d12ccfdec63.tar.bz2 |
Remove another lie.
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/extending.tex | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex index a690bdd..2b7963e 100644 --- a/Doc/ext/extending.tex +++ b/Doc/ext/extending.tex @@ -818,10 +818,8 @@ 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. +\keyword{delete} are used with essentially the same meaning and +we'll restrict the following discussion to the latter. Every block of memory allocated with \cfunction{malloc()} should eventually be returned to the pool of available memory by exactly one |