summaryrefslogtreecommitdiffstats
path: root/Objects/obmalloc.c
diff options
context:
space:
mode:
authorTim Peters <tim@python.org>2013-09-20 02:06:37 (GMT)
committerTim Peters <tim@python.org>2013-09-20 02:06:37 (GMT)
commitdf099f5df672c6f431dcf7ef276c462bebc13919 (patch)
tree3272369e36e1d9a9a0d1cd991d6d052857cea803 /Objects/obmalloc.c
parent3af4fad55598a4faffd8314306daf6cc0363df8c (diff)
downloadcpython-df099f5df672c6f431dcf7ef276c462bebc13919.zip
cpython-df099f5df672c6f431dcf7ef276c462bebc13919.tar.gz
cpython-df099f5df672c6f431dcf7ef276c462bebc13919.tar.bz2
Update internal comments to say _something_ about the "API ID".
Best I can tell, the possible values for this aren't documented anywhere.
Diffstat (limited to 'Objects/obmalloc.c')
-rw-r--r--Objects/obmalloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index db774b8..2ab66a3 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1702,7 +1702,9 @@ pool_is_in_list(const poolp target, poolp list)
p[0: S]
Number of bytes originally asked for. This is a size_t, big-endian (easier
to read in a memory dump).
-p[S: 2*S]
+p[S}
+ API ID. See PEP 445. This is a character, but seems undocumented.
+p[S+1: 2*S]
Copies of FORBIDDENBYTE. Used to catch under- writes and reads.
p[2*S: 2*S+n]
The requested memory, filled with copies of CLEANBYTE.