diff options
author | Raymond Hettinger <python@rcn.com> | 2013-07-27 06:14:22 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-07-27 06:14:22 (GMT) |
commit | 3223dd5c223d24706eb20fa1a46d6057dbdc826c (patch) | |
tree | ee38f205809b227763f3d290cfa27d4f071db5c7 /Modules/_collectionsmodule.c | |
parent | a44549a95906db3b73cfc37785565e10e347423a (diff) | |
download | cpython-3223dd5c223d24706eb20fa1a46d6057dbdc826c.zip cpython-3223dd5c223d24706eb20fa1a46d6057dbdc826c.tar.gz cpython-3223dd5c223d24706eb20fa1a46d6057dbdc826c.tar.bz2 |
Assertions key off NDEBUG
Diffstat (limited to 'Modules/_collectionsmodule.c')
-rw-r--r-- | Modules/_collectionsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 3ff1d1f..1f583b8 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -61,7 +61,7 @@ typedef struct BLOCK { * block is freed leaving another existing block as the new endpoint. */ -#ifdef Py_DEBUG +#ifndef NDEBUG #define MARK_END(link) link = NULL; #define CHECK_END(link) assert(link == NULL); #define CHECK_NOT_END(link) assert(link != NULL); |