summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-30 09:41:01 (GMT)
committerGeorg Brandl <georg@python.org>2010-11-30 09:41:01 (GMT)
commite5b99f0fb306b80118849048b3d145c1a614c38b (patch)
treee8938116fa072d7becaaad25df1cf67f142449a1 /Python
parent71c23d447322307572fbe0ca68b61fad97e10021 (diff)
downloadcpython-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 'Python')
-rw-r--r--Python/ast.c1
-rw-r--r--Python/bltinmodule.c1
-rw-r--r--Python/ceval.c1
-rw-r--r--Python/compile.c2
-rw-r--r--Python/future.c1
-rw-r--r--Python/import.c4
-rw-r--r--Python/peephole.c2
-rw-r--r--Python/pyarena.c1
-rw-r--r--Python/pythonrun.c4
-rw-r--r--Python/sysmodule.c1
-rw-r--r--Python/traceback.c1
11 files changed, 0 insertions, 19 deletions
diff --git a/Python/ast.c b/Python/ast.c
index d1aa616..4edf335 100644
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -7,7 +7,6 @@
#include "Python-ast.h"
#include "grammar.h"
#include "node.h"
-#include "pyarena.h"
#include "ast.h"
#include "token.h"
#include "parsetok.h"
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index f374277..f300ab2 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -5,7 +5,6 @@
#include "node.h"
#include "code.h"
-#include "eval.h"
#include <ctype.h>
diff --git a/Python/ceval.c b/Python/ceval.c
index 1eb5f62..140112f 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -13,7 +13,6 @@
#include "code.h"
#include "frameobject.h"
-#include "eval.h"
#include "opcode.h"
#include "structmember.h"
diff --git a/Python/compile.c b/Python/compile.c
index fb27596..dfb2c9b 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -25,10 +25,8 @@
#include "Python-ast.h"
#include "node.h"
-#include "pyarena.h"
#include "ast.h"
#include "code.h"
-#include "compile.h"
#include "symtable.h"
#include "opcode.h"
diff --git a/Python/future.c b/Python/future.c
index 551edc6..d6b653f 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -4,7 +4,6 @@
#include "token.h"
#include "graminit.h"
#include "code.h"
-#include "compile.h"
#include "symtable.h"
#define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"
diff --git a/Python/import.c b/Python/import.c
index 85ead86..67c4f70 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -5,13 +5,9 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
-#include "pyarena.h"
-#include "pythonrun.h"
#include "errcode.h"
#include "marshal.h"
#include "code.h"
-#include "compile.h"
-#include "eval.h"
#include "osdefs.h"
#include "importdl.h"
diff --git a/Python/peephole.c b/Python/peephole.c
index 9d06963..f972e16 100644
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -4,10 +4,8 @@
#include "Python-ast.h"
#include "node.h"
-#include "pyarena.h"
#include "ast.h"
#include "code.h"
-#include "compile.h"
#include "symtable.h"
#include "opcode.h"
diff --git a/Python/pyarena.c b/Python/pyarena.c
index 2d63638..5a255ae 100644
--- a/Python/pyarena.c
+++ b/Python/pyarena.c
@@ -1,5 +1,4 @@
#include "Python.h"
-#include "pyarena.h"
/* A simple arena block structure.
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 37c1f11..de8e9da 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -11,14 +11,10 @@
#include "parsetok.h"
#include "errcode.h"
#include "code.h"
-#include "compile.h"
#include "symtable.h"
-#include "pyarena.h"
#include "ast.h"
-#include "eval.h"
#include "marshal.h"
#include "osdefs.h"
-#include "abstract.h"
#ifdef HAVE_SIGNAL_H
#include <signal.h>
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 1aa4271..204c8c8 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -17,7 +17,6 @@ Data members:
#include "Python.h"
#include "code.h"
#include "frameobject.h"
-#include "eval.h"
#include "osdefs.h"
diff --git a/Python/traceback.c b/Python/traceback.c
index ab10cfd..59bb3f0 100644
--- a/Python/traceback.c
+++ b/Python/traceback.c
@@ -7,7 +7,6 @@
#include "frameobject.h"
#include "structmember.h"
#include "osdefs.h"
-#include "traceback.h"
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif