summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2019-07-06 04:03:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2019-07-06 04:03:13 (GMT)
commit39a5d17a7f1387582eb484422df450bc09a5543e (patch)
tree5693930e696c7fce17e868a5ac7c31b08b1b5e08 /Doc/c-api
parentf7d72e48fb235684e17668a1e5107e6b0dab7b80 (diff)
downloadcpython-39a5d17a7f1387582eb484422df450bc09a5543e.zip
cpython-39a5d17a7f1387582eb484422df450bc09a5543e.tar.gz
cpython-39a5d17a7f1387582eb484422df450bc09a5543e.tar.bz2
closes bpo-37508: Fix name of type in memory.rst. (GH-14604)
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 ab49e48..f97ae45 100644
--- a/Doc/c-api/memory.rst
+++ b/Doc/c-api/memory.rst
@@ -67,7 +67,7 @@ example::
In this example, the memory request for the I/O buffer is handled by the C
library allocator. The Python memory manager is involved only in the allocation
-of the string object returned as a result.
+of the bytes object returned as a result.
In most situations, however, it is recommended to allocate memory from the
Python heap specifically because the latter is under control of the Python