[Python-checkins] r42660 - python/branches/tim-obmalloc/Objects/obmalloc.c

tim.peters python-checkins at python.org
Tue Feb 28 19:08:33 CET 2006


Author: tim.peters
Date: Tue Feb 28 19:08:31 2006
New Revision: 42660

Modified:
   python/branches/tim-obmalloc/Objects/obmalloc.c
Log:
Typo repair.


Modified: python/branches/tim-obmalloc/Objects/obmalloc.c
==============================================================================
--- python/branches/tim-obmalloc/Objects/obmalloc.c	(original)
+++ python/branches/tim-obmalloc/Objects/obmalloc.c	Tue Feb 28 19:08:31 2006
@@ -587,8 +587,8 @@
  * Obscure:  A PyMem "free memory" function can call the pymalloc free or
  * realloc before the first arena has been allocated.  arenas is still
  * NULL in that case.  We're relying on that maxarenas is also 0 in that case,
- * so that (POOL)->arenaindex must be false, saving us from trying to index
- * into a NULL arenas.
+ * so that (POOL)->arenaindex < maxarenas  must be false, saving us from
+ * trying to index into a NULL arenas.
  */
 #define Py_ADDRESS_IN_RANGE(P, POOL)	\
 	((POOL)->arenaindex < maxarenas &&		\


More information about the Python-checkins mailing list