summaryrefslogtreecommitdiffstats
path: root/Objects/obmalloc.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-10-31 17:08:28 (GMT)
committerGitHub <noreply@github.com>2017-10-31 17:08:28 (GMT)
commit52ba7b447f41dad2754ddbc50ed97413b557bbe1 (patch)
tree5db16f85a6892e51849cf8b0628e3c36a9466736 /Objects/obmalloc.c
parent8cbf4e10646c3f5b8f0d274c2d7dea5bb6305f57 (diff)
downloadcpython-52ba7b447f41dad2754ddbc50ed97413b557bbe1.zip
cpython-52ba7b447f41dad2754ddbc50ed97413b557bbe1.tar.gz
cpython-52ba7b447f41dad2754ddbc50ed97413b557bbe1.tar.bz2
bpo-20064: Document PyObject_Malloc() (#4204)
Document the following functions: * PyObject_Malloc() * PyObject_Realloc() * PyObject_Free() Document also the pymalloc allocator.
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index 1bb1866..5655554 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -214,7 +214,7 @@ static int running_on_valgrind = -1;
* Arenas are allocated with mmap() on systems supporting anonymous memory
* mappings to reduce heap fragmentation.
*/
-#define ARENA_SIZE (256 << 10) /* 256KB */
+#define ARENA_SIZE (256 << 10) /* 256KiB */
#ifdef WITH_MEMORY_LIMITS
#define MAX_ARENAS (SMALL_MEMORY_LIMIT / ARENA_SIZE)