summaryrefslogtreecommitdiffstats
path: root/Include/listobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/listobject.h')
-rw-r--r--Include/listobject.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/listobject.h b/Include/listobject.h
index ffce029..43048d3 100644
--- a/Include/listobject.h
+++ b/Include/listobject.h
@@ -30,9 +30,7 @@ typedef struct {
* 0 <= ob_size <= allocated
* len(list) == ob_size
* ob_item == NULL implies ob_size == allocated == 0
- * If ob_item ever becomes non-NULL, it remains non-NULL for the
- * life of the list object. The check for mutation in list.sort()
- * relies on this odd detail.
+ * list.sort() temporarily sets allocated to -1 to detect mutations.
*/
int allocated;
} PyListObject;