diff options
| author | Raymond Hettinger <python@rcn.com> | 2013-07-26 23:14:22 -0700 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2013-07-26 23:14:22 -0700 |
| commit | 3223dd5c223d24706eb20fa1a46d6057dbdc826c (patch) | |
| tree | ee38f205809b227763f3d290cfa27d4f071db5c7 | |
| parent | a44549a95906db3b73cfc37785565e10e347423a (diff) | |
| download | cpython-git-3223dd5c223d24706eb20fa1a46d6057dbdc826c.tar.gz | |
Assertions key off NDEBUG
| -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 3ff1d1fc7e..1f583b8c78 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); |
