[Python-checkins] r42692 - python/trunk/Include/compile.h

thomas.wouters python-checkins at python.org
Tue Feb 28 23:40:59 CET 2006


Author: thomas.wouters
Date: Tue Feb 28 23:40:55 2006
New Revision: 42692

Modified:
   python/trunk/Include/compile.h
Log:

Include code.h more sanely.



Modified: python/trunk/Include/compile.h
==============================================================================
--- python/trunk/Include/compile.h	(original)
+++ python/trunk/Include/compile.h	Tue Feb 28 23:40:55 2006
@@ -1,6 +1,3 @@
-#ifndef Py_CODE_H
-#include "code.h"
-#endif
 
 #ifndef Py_COMPILE_H
 #define Py_COMPILE_H
@@ -8,6 +5,8 @@
 extern "C" {
 #endif
 
+#include "code.h"
+
 /* Public interface */
 struct _node; /* Declare the existence of this type */
 PyAPI_FUNC(PyCodeObject *) PyNode_Compile(struct _node *, const char *);


More information about the Python-checkins mailing list