]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45434: Remove useless space in includes (GH-28963)
authorVictor Stinner <vstinner@python.org>
Thu, 14 Oct 2021 23:50:04 +0000 (01:50 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Oct 2021 23:50:04 +0000 (01:50 +0200)
Micro-optimize spaces!

24 files changed:
Include/abstract.h
Include/bytearrayobject.h
Include/bytesobject.h
Include/ceval.h
Include/code.h
Include/dictobject.h
Include/fileobject.h
Include/fileutils.h
Include/frameobject.h
Include/import.h
Include/interpreteridobject.h
Include/listobject.h
Include/methodobject.h
Include/object.h
Include/objimpl.h
Include/pyerrors.h
Include/pylifecycle.h
Include/pymem.h
Include/pystate.h
Include/pythonrun.h
Include/sysmodule.h
Include/traceback.h
Include/tupleobject.h
Include/unicodeobject.h

index 9eaab6b2e054c4406f3bb4af8f423a94a4907965..9e06fbbb749138f1846b80655844132452ac2034 100644 (file)
@@ -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
 
index 1a834474dde7c33698c7e8ca67c30bcf0ad22406..ae2bde1c30356540223f23716469a4707b9455b1 100644 (file)
@@ -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
 
index bcb1a5942c68f80882915650670b4749d81a732d..4c4dc40d705d71432b1d0ef713ba0a590d8367cb 100644 (file)
@@ -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
 
index 0f687666e2bccf5dcaf3812c74d9df227dc868da..cf8c5b17be589a80545f4c2064e3e0a5df66c5ed 100644 (file)
@@ -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
 
index b9e23eb816529b52143783c99885565cc3eb58d4..2dea3c261053181a0894558bd790d3b5d0457b6b 100644 (file)
@@ -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
 
index da5a36ba07f32ef5c51e10b214ddb2476a6564dc..a6233d8ae2512a517598d03ca65602cbe22365b4 100644 (file)
@@ -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
 
index 6ec2994aa859b6fbcd71d12fd283733ea1d049ab..4c983e7b5daa8ac96a403b52bdcbcf6c05600271 100644 (file)
@@ -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
 
index 16f3b635deed89472da06e0751ab6900bbd6e92d..ba5acc84fcb18560f27f4f14c1cf44527e98f5ae 100644 (file)
@@ -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
 
index c118af1201a4c854ab899e17ca9148ae21a72991..adb628f6314fcfc6bff80b4bb09483158354b91f 100644 (file)
@@ -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
 
index aeef3efd0bcee8e20183c91c41c1cda50ff7888f..a87677bb10c7f441dd980420b525e12de7cf42d3 100644 (file)
@@ -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
 
index e744fcdc9ff1899c825ac44009a59002f3990178..8432632f339e923e5fa35d5384d418519d0eed64 100644 (file)
@@ -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
 
index 2a8a25525d1d7bf660ab7ed55592a4714ac6c5af..eff42c188f1ff168bbf2dc107460ff797394a463 100644 (file)
@@ -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
 
index 9ffe8e1a3ddfcb6558efe61f52b5a52487c6f189..1be5873a30569fadedc2193ca4bf322e0f325dd2 100644 (file)
@@ -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
index 7f050b80aaff1cb82f0655a39324e2434136fd7f..33df303a44eb7e9420bec314801e7fea2f4d766d 100644 (file)
@@ -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
 
index 450befad679e7009226b53d6eb79f4627dcff552..9b98c112ac2cc53e2ba97e6ce7b9d5d53e0fbcbd 100644 (file)
@@ -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
 
index f5d1c7115771869dcf69c7ff1a3410c817e2ce67..c6c443a2d7d0f0f8bdc765b0e5aebce4b279a23d 100644 (file)
@@ -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
 
index 9b2dd0868eb25b9d5ced3dc9838e5f75950afb12..4aecda235abf763cecdc0f8a6e77a675e71ac2c2 100644 (file)
@@ -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
 
index 66cdb0d2973cd053f7e3d1b62fafb0fe7fed608d..c15ad10dfcf831acc4f1b7a54c7cae683dceafde 100644 (file)
@@ -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
 
index d81f42a3efe3213fb4649dfac9a1d348720ba41b..b6ee0ede81dea0240373df6c281d2c058cdee101 100644 (file)
@@ -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
 
index b0a2fc3002d37d042d4fbb42e87ca7ef16a9dbb7..02715775581c6321edf163a9768b790eb1388f8a 100644 (file)
@@ -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
 
index 8c8f7c425942a5826bdaa6f7dd3ac404a09c8e5f..3463c6223090094abf8cc1448b7a1f999f0a537b 100644 (file)
@@ -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
 
index 781e5a6eec4edd4c199079aa9f25d8c05082b3f2..2dfa2ada4f2c375710b3150bacb358643b66a328 100644 (file)
@@ -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
 
index e796a320192c204466ffca35d27a32fd3d064f5c..dc68e3fc5c6d8807a4bd6ca1b5c0368f03db0a1a 100644 (file)
@@ -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
 
index c65b9228298d76265c20677bba489eaeee2aa38c..abce967caff78edf5bc1d2c80fcce6cbae537ea4 100644 (file)
@@ -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