Skip to content

Commit 7076bef

Browse files
authored
bpo-45434: Remove useless space in includes (GH-28963)
Micro-optimize spaces!
1 parent 03bbc60 commit 7076bef

24 files changed

+26
-28
lines changed

Include/abstract.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
863863

864864
#ifndef Py_LIMITED_API
865865
# define Py_CPYTHON_ABSTRACTOBJECT_H
866-
# include "cpython/abstract.h"
866+
# include "cpython/abstract.h"
867867
# undef Py_CPYTHON_ABSTRACTOBJECT_H
868868
#endif
869869

Include/bytearrayobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ PyAPI_FUNC(int) PyByteArray_Resize(PyObject *, Py_ssize_t);
3434

3535
#ifndef Py_LIMITED_API
3636
# define Py_CPYTHON_BYTEARRAYOBJECT_H
37-
# include "cpython/bytearrayobject.h"
37+
# include "cpython/bytearrayobject.h"
3838
# undef Py_CPYTHON_BYTEARRAYOBJECT_H
3939
#endif
4040

Include/bytesobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ PyAPI_FUNC(int) PyBytes_AsStringAndSize(
5959

6060
#ifndef Py_LIMITED_API
6161
# define Py_CPYTHON_BYTESOBJECT_H
62-
# include "cpython/bytesobject.h"
62+
# include "cpython/bytesobject.h"
6363
# undef Py_CPYTHON_BYTESOBJECT_H
6464
#endif
6565

Include/ceval.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate);
148148

149149
#ifndef Py_LIMITED_API
150150
# define Py_CPYTHON_CEVAL_H
151-
# include "cpython/ceval.h"
151+
# include "cpython/ceval.h"
152152
# undef Py_CPYTHON_CEVAL_H
153153
#endif
154154

Include/code.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ typedef struct PyCodeObject PyCodeObject;
1010

1111
#ifndef Py_LIMITED_API
1212
# define Py_CPYTHON_CODE_H
13-
# include "cpython/code.h"
13+
# include "cpython/code.h"
1414
# undef Py_CPYTHON_CODE_H
1515
#endif
1616

Include/dictobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ PyAPI_DATA(PyTypeObject) PyDictRevIterValue_Type;
8787

8888
#ifndef Py_LIMITED_API
8989
# define Py_CPYTHON_DICTOBJECT_H
90-
# include "cpython/dictobject.h"
90+
# include "cpython/dictobject.h"
9191
# undef Py_CPYTHON_DICTOBJECT_H
9292
#endif
9393

Include/fileobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ PyAPI_DATA(int) Py_UTF8Mode;
3939

4040
#ifndef Py_LIMITED_API
4141
# define Py_CPYTHON_FILEOBJECT_H
42-
# include "cpython/fileobject.h"
42+
# include "cpython/fileobject.h"
4343
# undef Py_CPYTHON_FILEOBJECT_H
4444
#endif
4545

Include/fileutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ PyAPI_FUNC(char*) Py_EncodeLocale(
1616

1717
#ifndef Py_LIMITED_API
1818
# define Py_CPYTHON_FILEUTILS_H
19-
# include "cpython/fileutils.h"
19+
# include "cpython/fileutils.h"
2020
# undef Py_CPYTHON_FILEUTILS_H
2121
#endif
2222

Include/frameobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ extern "C" {
1010

1111
#ifndef Py_LIMITED_API
1212
# define Py_CPYTHON_FRAMEOBJECT_H
13-
# include "cpython/frameobject.h"
13+
# include "cpython/frameobject.h"
1414
# undef Py_CPYTHON_FRAMEOBJECT_H
1515
#endif
1616

Include/import.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ PyAPI_FUNC(int) PyImport_AppendInittab(
8888

8989
#ifndef Py_LIMITED_API
9090
# define Py_CPYTHON_IMPORT_H
91-
# include "cpython/import.h"
91+
# include "cpython/import.h"
9292
# undef Py_CPYTHON_IMPORT_H
9393
#endif
9494

0 commit comments

Comments
 (0)