mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #14387: Do not include accu.h from Python.h.
This commit is contained in:
commit
d0acb411ef
8 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
#include "accu.h"
|
||||
#include "_iomodule.h"
|
||||
|
||||
/* Implementation note: the buffer is always at least one character longer
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
#include "accu.h"
|
||||
|
||||
#if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE)
|
||||
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue