Update internal comments to say _something_ about the "API ID".

Best I can tell, the possible values for this aren't documented anywhere.
This commit is contained in:
Tim Peters 2013-09-19 21:06:37 -05:00
parent 3af4fad555
commit df099f5df6
2 changed files with 6 additions and 2 deletions

View File

@ -105,7 +105,9 @@ negative indices differs from a Python slice):
p[-2*S:-S]
Number of bytes originally asked for. This is a size_t, big-endian (easier
to read in a memory dump).
p[-S:0]
p[-S]
API ID. See PEP 445. This is a character, but seems undocumented.
p[-S+1:0]
Copies of FORBIDDENBYTE. Used to catch under- writes and reads.
p[0:N]
The requested memory, filled with copies of CLEANBYTE, used to catch

View File

@ -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.