diff options
author | Georg Brandl <georg@python.org> | 2010-11-30 09:41:01 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-11-30 09:41:01 (GMT) |
commit | e5b99f0fb306b80118849048b3d145c1a614c38b (patch) | |
tree | e8938116fa072d7becaaad25df1cf67f142449a1 /Modules | |
parent | 71c23d447322307572fbe0ca68b61fad97e10021 (diff) | |
download | cpython-e5b99f0fb306b80118849048b3d145c1a614c38b.zip cpython-e5b99f0fb306b80118849048b3d145c1a614c38b.tar.gz cpython-e5b99f0fb306b80118849048b3d145c1a614c38b.tar.bz2 |
Remove redundant includes of headers that are already included by Python.h.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_datetimemodule.c | 1 | ||||
-rw-r--r-- | Modules/_lsprof.c | 1 | ||||
-rw-r--r-- | Modules/main.c | 1 | ||||
-rw-r--r-- | Modules/parsermodule.c | 2 | ||||
-rw-r--r-- | Modules/signalmodule.c | 1 | ||||
-rw-r--r-- | Modules/symtablemodule.c | 1 |
6 files changed, 0 insertions, 7 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index d791cde..32fe835 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -3,7 +3,6 @@ */ #include "Python.h" -#include "modsupport.h" #include "structmember.h" #include <time.h> diff --git a/Modules/_lsprof.c b/Modules/_lsprof.c index a5630c8..048cfc8 100644 --- a/Modules/_lsprof.c +++ b/Modules/_lsprof.c @@ -1,5 +1,4 @@ #include "Python.h" -#include "compile.h" #include "frameobject.h" #include "rotatingtree.h" diff --git a/Modules/main.c b/Modules/main.c index 590104d..eeb94c8 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -2,7 +2,6 @@ #include "Python.h" #include "osdefs.h" -#include "import.h" #include <locale.h> diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 8c57f86..27b680f 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -34,10 +34,8 @@ #include "grammar.h" #include "parsetok.h" /* ISTERMINAL() / ISNONTERMINAL() */ -#include "compile.h" #undef Yield #include "ast.h" -#include "pyarena.h" extern grammar _PyParser_Grammar; /* From graminit.c */ diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 0e7fd65..a93caad 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -4,7 +4,6 @@ /* XXX Signals should be recorded per thread, now we have thread state. */ #include "Python.h" -#include "intrcheck.h" #ifdef MS_WINDOWS #include <Windows.h> diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c index 3f281d2..f6201e5 100644 --- a/Modules/symtablemodule.c +++ b/Modules/symtablemodule.c @@ -1,7 +1,6 @@ #include "Python.h" #include "code.h" -#include "compile.h" #include "Python-ast.h" #include "symtable.h" |