Skip to content
Closed
Prev Previous commit
Next Next commit
bpo-32075: Remove zipimport.h from Python.h.
Seems on Windows compile fails for some reason when in Python.h on a
module.
  • Loading branch information
AraHaan committed Nov 19, 2017
commit 194c7b49b7aa678db1b92278b6b2916f54cc7d35
4 changes: 0 additions & 4 deletions Include/Python.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@

#include "abstract.h"
#include "bltinmodule.h"
/* bpo-32075: Expose ZipImporter Type Object in
* the include header files.
*/
#include "zipimport.h"

#include "eval.h"

Expand Down
2 changes: 1 addition & 1 deletion Include/zipimport.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ static PyTypeObject ZipImporter_Type;
#ifdef __cplusplus
}
#endif
#endif /* !Py_ZIPIMPORT_H */
#endif /* !Py_ZIPIMPORT_H */