summaryrefslogtreecommitdiff
path: root/Objects
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-10-31 10:08:28 -0700
committerGitHub <noreply@github.com>2017-10-31 10:08:28 -0700
commit52ba7b447f41dad2754ddbc50ed97413b557bbe1 (patch)
tree5db16f85a6892e51849cf8b0628e3c36a9466736 /Objects
parent8cbf4e10646c3f5b8f0d274c2d7dea5bb6305f57 (diff)
downloadcpython-git-52ba7b447f41dad2754ddbc50ed97413b557bbe1.tar.gz
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')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index 1bb1866dc6..5655554b82 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)