#ifndef Py_LIMITED_API
#  define Py_CPYTHON_FILEOBJECT_H
#  include  "cpython/fileobject.h"
#  undef Py_CPYTHON_FILEOBJECT_H
#endif

cpython/fileobject.h
```
#ifndef Py_CPYTHON_FILEOBJECT_H
#  error "this header file must not be included directly"
#endif
```

why not use  #ifndef #define 
cpython/fileobject.h
#ifndef Py_CPYTHON_FILEOBJECT_H
#define Py_CPYTHON_FILEOBJECT_H
....
#endif /* Py_CPYTHON_FILEOBJECT_H */
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/WME3T6N3XQ6GP7GXBBRHTCH3O37IJK5K/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to