Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove bad pyconfig include
  • Loading branch information
nw0 committed Feb 13, 2021
commit aa97ca2d05b4b00598eee42f3313e6c4254835ee
1 change: 0 additions & 1 deletion Include/cpython/pytime.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#ifndef Py_PYTIME_H
#define Py_PYTIME_H

#include "../pyconfig.h" /* include for defines */
#include "../object.h"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that people should include pytime.h directly, and so I suggest to simply remove these includes. Let people respect the Python C API documentation which suggests to only include "Python.h".


/**************************************************************************
Expand Down