Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion 2 Include/abstract.h
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_ABSTRACTOBJECT_H
# include "cpython/abstract.h"
# include "cpython/abstract.h"
# undef Py_CPYTHON_ABSTRACTOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/bytearrayobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_BYTEARRAYOBJECT_H
# include "cpython/bytearrayobject.h"
# include "cpython/bytearrayobject.h"
# undef Py_CPYTHON_BYTEARRAYOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/bytesobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ PyAPI_FUNC(int) PyBytes_AsStringAndSize(

#ifndef Py_LIMITED_API
# define Py_CPYTHON_BYTESOBJECT_H
# include "cpython/bytesobject.h"
# include "cpython/bytesobject.h"
# undef Py_CPYTHON_BYTESOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/ceval.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_CEVAL_H
# include "cpython/ceval.h"
# include "cpython/ceval.h"
# undef Py_CPYTHON_CEVAL_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/code.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ typedef struct PyCodeObject PyCodeObject;

#ifndef Py_LIMITED_API
# define Py_CPYTHON_CODE_H
# include "cpython/code.h"
# include "cpython/code.h"
# undef Py_CPYTHON_CODE_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/dictobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ PyAPI_DATA(PyTypeObject) PyDictRevIterValue_Type;

#ifndef Py_LIMITED_API
# define Py_CPYTHON_DICTOBJECT_H
# include "cpython/dictobject.h"
# include "cpython/dictobject.h"
# undef Py_CPYTHON_DICTOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/fileobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ PyAPI_DATA(int) Py_UTF8Mode;

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

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/fileutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PyAPI_FUNC(char*) Py_EncodeLocale(

#ifndef Py_LIMITED_API
# define Py_CPYTHON_FILEUTILS_H
# include "cpython/fileutils.h"
# include "cpython/fileutils.h"
# undef Py_CPYTHON_FILEUTILS_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/frameobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extern "C" {

#ifndef Py_LIMITED_API
# define Py_CPYTHON_FRAMEOBJECT_H
# include "cpython/frameobject.h"
# include "cpython/frameobject.h"
# undef Py_CPYTHON_FRAMEOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/import.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ PyAPI_FUNC(int) PyImport_AppendInittab(

#ifndef Py_LIMITED_API
# define Py_CPYTHON_IMPORT_H
# include "cpython/import.h"
# include "cpython/import.h"
# undef Py_CPYTHON_IMPORT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/interpreteridobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extern "C" {

#ifndef Py_LIMITED_API
# define Py_CPYTHON_INTERPRETERIDOBJECT_H
# include "cpython/interpreteridobject.h"
# include "cpython/interpreteridobject.h"
# undef Py_CPYTHON_INTERPRETERIDOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/listobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ PyAPI_FUNC(PyObject *) PyList_AsTuple(PyObject *);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_LISTOBJECT_H
# include "cpython/listobject.h"
# include "cpython/listobject.h"
# undef Py_CPYTHON_LISTOBJECT_H
#endif

Expand Down
8 changes: 3 additions & 5 deletions 8 Include/methodobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ PyAPI_FUNC(PyObject *) PyCMethod_New(PyMethodDef *, PyObject *,


#ifndef Py_LIMITED_API

#define Py_CPYTHON_METHODOBJECT_H
#include "cpython/methodobject.h"
#undef Py_CPYTHON_METHODOBJECT_H

# define Py_CPYTHON_METHODOBJECT_H
# include "cpython/methodobject.h"
# undef Py_CPYTHON_METHODOBJECT_H
#endif

#ifdef __cplusplus
Expand Down
2 changes: 1 addition & 1 deletion 2 Include/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ times.

#ifndef Py_LIMITED_API
# define Py_CPYTHON_OBJECT_H
# include "cpython/object.h"
# include "cpython/object.h"
# undef Py_CPYTHON_OBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/objimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ PyAPI_FUNC(int) PyObject_GC_IsFinalized(PyObject *);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_OBJIMPL_H
# include "cpython/objimpl.h"
# include "cpython/objimpl.h"
# undef Py_CPYTHON_OBJIMPL_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/pyerrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ PyAPI_FUNC(int) PyOS_vsnprintf(char *str, size_t size, const char *format, va_l

#ifndef Py_LIMITED_API
# define Py_CPYTHON_ERRORS_H
# include "cpython/pyerrors.h"
# include "cpython/pyerrors.h"
# undef Py_CPYTHON_ERRORS_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/pylifecycle.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ PyAPI_FUNC(PyOS_sighandler_t) PyOS_setsig(int, PyOS_sighandler_t);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_PYLIFECYCLE_H
# include "cpython/pylifecycle.h"
# include "cpython/pylifecycle.h"
# undef Py_CPYTHON_PYLIFECYCLE_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/pymem.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ PyAPI_FUNC(void) PyMem_Free(void *ptr);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_PYMEM_H
# include "cpython/pymem.h"
# include "cpython/pymem.h"
# undef Py_CPYTHON_PYMEM_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/pystate.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ PyAPI_FUNC(PyThreadState *) PyGILState_GetThisThreadState(void);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_PYSTATE_H
# include "cpython/pystate.h"
# include "cpython/pystate.h"
# undef Py_CPYTHON_PYSTATE_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/pythonrun.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PyAPI_FUNC(int) PyOS_CheckStack(void);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_PYTHONRUN_H
# include "cpython/pythonrun.h"
# include "cpython/pythonrun.h"
# undef Py_CPYTHON_PYTHONRUN_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/sysmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PyAPI_FUNC(PyObject *) PySys_GetXOptions(void);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_SYSMODULE_H
# include "cpython/sysmodule.h"
# include "cpython/sysmodule.h"
# undef Py_CPYTHON_SYSMODULE_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/traceback.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PyAPI_DATA(PyTypeObject) PyTraceBack_Type;

#ifndef Py_LIMITED_API
# define Py_CPYTHON_TRACEBACK_H
# include "cpython/traceback.h"
# include "cpython/traceback.h"
# undef Py_CPYTHON_TRACEBACK_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/tupleobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PyAPI_FUNC(PyObject *) PyTuple_Pack(Py_ssize_t, ...);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_TUPLEOBJECT_H
# include "cpython/tupleobject.h"
# include "cpython/tupleobject.h"
# undef Py_CPYTHON_TUPLEOBJECT_H
#endif

Expand Down
2 changes: 1 addition & 1 deletion 2 Include/unicodeobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ PyAPI_FUNC(int) PyUnicode_IsIdentifier(PyObject *s);

#ifndef Py_LIMITED_API
# define Py_CPYTHON_UNICODEOBJECT_H
# include "cpython/unicodeobject.h"
# include "cpython/unicodeobject.h"
# undef Py_CPYTHON_UNICODEOBJECT_H
#endif

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.