summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-18 14:10:43 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-18 14:10:43 (GMT)
commit9b46a5730268f6f22e13cd0a99adada2932f062b (patch)
treecdcf7f66860c64dc7ffc6804bfeec914cff2a28d /Doc/c-api
parentee6471ec9068c40daf252af368e5c8ffd8c65472 (diff)
downloadcpython-9b46a5730268f6f22e13cd0a99adada2932f062b.zip
cpython-9b46a5730268f6f22e13cd0a99adada2932f062b.tar.gz
cpython-9b46a5730268f6f22e13cd0a99adada2932f062b.tar.bz2
Doc: fix typos, patch written by Stefan Behnel
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/memory.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/memory.rst b/Doc/c-api/memory.rst
index 1787292..c2e2442 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -363,7 +363,7 @@ Customize Memory Allocators
This function now also works on Python compiled in release mode.
On error, the debug hooks now use :mod:`tracemalloc` to get the traceback
where a memory block was allocated. The debug hooks now also check
- if the GIL is hold when functions of :c:data:`PYMEM_DOMAIN_OBJ` and
+ if the GIL is held when functions of :c:data:`PYMEM_DOMAIN_OBJ` and
:c:data:`PYMEM_DOMAIN_MEM` domains are called.