summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-07-15 18:38:47 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-07-15 18:38:47 (GMT)
commit0d5dd68692e8e7a4ebe16cf0902de6a778ea5200 (patch)
treefd1db4976fcd7090a2230d43012f37d1ede1afb4 /Modules
parentb2c075bec452f66155d447ed9a1ae1a6479502a8 (diff)
downloadcpython-0d5dd68692e8e7a4ebe16cf0902de6a778ea5200.zip
cpython-0d5dd68692e8e7a4ebe16cf0902de6a778ea5200.tar.gz
cpython-0d5dd68692e8e7a4ebe16cf0902de6a778ea5200.tar.bz2
Python.h: Don't attempt to redefine NDEBUG if it's already defined.
Others: Remove redundant includes of assert.h.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mpzmodule.c1
-rw-r--r--Modules/regexpr.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/Modules/mpzmodule.c b/Modules/mpzmodule.c
index d4a7370..bcbd238 100644
--- a/Modules/mpzmodule.c
+++ b/Modules/mpzmodule.c
@@ -12,7 +12,6 @@
#include "Python.h"
-#include <assert.h>
#include <sys/types.h> /* For size_t */
/*
diff --git a/Modules/regexpr.c b/Modules/regexpr.c
index 8694c74..8fe1321 100644
--- a/Modules/regexpr.c
+++ b/Modules/regexpr.c
@@ -30,7 +30,6 @@
#include "Python.h"
#include "regexpr.h"
-#include <assert.h>
/* The original code blithely assumed that sizeof(short) == 2. Not
* always true. Original instances of "(short)x" were replaced by