projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d9e0f
)
fix typos
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 12 Oct 2013 08:19:06 +0000
(10:19 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 12 Oct 2013 08:19:06 +0000
(10:19 +0200)
docs/src/tutorial/memory_allocation.rst
patch
|
blob
|
history
diff --git
a/docs/src/tutorial/memory_allocation.rst
b/docs/src/tutorial/memory_allocation.rst
index
c995d0e
..
b15ec0e
100644
(file)
--- a/
docs/src/tutorial/memory_allocation.rst
+++ b/
docs/src/tutorial/memory_allocation.rst
@@
-67,7
+67,7
@@
when they are no longer used (and *must* always use the matching
type of free function). Otherwise, they won't be reclaimed until the
python process exits. This is called a memory leak.
-If a chu
ck of memory needs a larger lifetime the
n can be managed by a
+If a chu
nk of memory needs a larger lifetime tha
n can be managed by a
``try..finally`` block, another helpful idiom is to tie its lifetime
to a Python object to leverage the Python runtime's memory management,
e.g.::