projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7d72e4
)
closes bpo-37508: Fix name of type in memory.rst. (GH-14604)
author
Hai Shi
<shihai1992@gmail.com>
Sat, 6 Jul 2019 04:03:13 +0000
(23:03 -0500)
committer
Benjamin Peterson
<benjamin@python.org>
Sat, 6 Jul 2019 04:03:13 +0000
(21:03 -0700)
Doc/c-api/memory.rst
patch
|
blob
|
history
diff --git
a/Doc/c-api/memory.rst
b/Doc/c-api/memory.rst
index ab49e48782d71abfe86b2a89f830c2e52f5a2bb4..f97ae453487f86990832cc610ae0b329f310bbd6 100644
(file)
--- 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