pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/python/cpython/commit/2aa2b3b4d5228a36580937ce1b291e89e710bdff

Clean up a few tabs that went in with PEP393. · python/cpython@2aa2b3b · GitHub
Skip to content

Commit 2aa2b3b

Browse files
committed
Clean up a few tabs that went in with PEP393.
1 parent 48a2f8f commit 2aa2b3b

6 files changed

Lines changed: 204 additions & 204 deletions

File tree

Include/Python.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
141141
#endif
142142

143143
/* Argument must be a char or an int in [-128, 127] or [0, 255]. */
144-
#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
144+
#define Py_CHARMASK(c) ((unsigned char)((c) & 0xff))
145145

146146
#include "pyfpe.h"
147147

Include/floatobject.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ PyAPI_DATA(PyTypeObject) PyFloat_Type;
2727
#define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN)
2828
#endif
2929

30-
#define Py_RETURN_INF(sign) do \
31-
if (copysign(1., sign) == 1.) { \
32-
return PyFloat_FromDouble(Py_HUGE_VAL); \
33-
} else { \
34-
return PyFloat_FromDouble(-Py_HUGE_VAL); \
35-
} while(0)
30+
#define Py_RETURN_INF(sign) do \
31+
if (copysign(1., sign) == 1.) { \
32+
return PyFloat_FromDouble(Py_HUGE_VAL); \
33+
} else { \
34+
return PyFloat_FromDouble(-Py_HUGE_VAL); \
35+
} while(0)
3636

3737
PyAPI_FUNC(double) PyFloat_GetMax(void);
3838
PyAPI_FUNC(double) PyFloat_GetMin(void);
@@ -113,9 +113,9 @@ PyAPI_FUNC(int) PyFloat_ClearFreeList(void);
113113
/* Format the object based on the format_spec, as defined in PEP 3101
114114
(Advanced String Formatting). */
115115
PyAPI_FUNC(PyObject *) _PyFloat_FormatAdvanced(PyObject *obj,
116-
PyObject *format_spec,
117-
Py_ssize_t start,
118-
Py_ssize_t end);
116+
PyObject *format_spec,
117+
Py_ssize_t start,
118+
Py_ssize_t end);
119119
#endif /* Py_LIMITED_API */
120120

121121
#ifdef __cplusplus

Include/longobject.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ typedef struct _longobject PyLongObject; /* Revealed in longintrepr.h */
1212
PyAPI_DATA(PyTypeObject) PyLong_Type;
1313

1414
#define PyLong_Check(op) \
15-
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
15+
PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LONG_SUBCLASS)
1616
#define PyLong_CheckExact(op) (Py_TYPE(op) == &PyLong_Type)
1717

1818
PyAPI_FUNC(PyObject *) PyLong_FromLong(long);
@@ -122,8 +122,8 @@ PyAPI_FUNC(PyObject *) _PyLong_DivmodNear(PyObject *, PyObject *);
122122
enough memory to create the Python long.
123123
*/
124124
PyAPI_FUNC(PyObject *) _PyLong_FromByteArray(
125-
const unsigned char* bytes, size_t n,
126-
int little_endian, int is_signed);
125+
const unsigned char* bytes, size_t n,
126+
int little_endian, int is_signed);
127127

128128
/* _PyLong_AsByteArray: Convert the least-significant 8*n bits of long
129129
v to a base-256 integer, stored in array bytes. Normally return 0,
@@ -145,8 +145,8 @@ PyAPI_FUNC(PyObject *) _PyLong_FromByteArray(
145145
case, but bytes holds the least-signficant n bytes of the true value.
146146
*/
147147
PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
148-
unsigned char* bytes, size_t n,
149-
int little_endian, int is_signed);
148+
unsigned char* bytes, size_t n,
149+
int little_endian, int is_signed);
150150

151151

152152
/* _PyLong_Format: Convert the long to a string object with given base,
@@ -156,9 +156,9 @@ PyAPI_FUNC(PyObject *) _PyLong_Format(PyObject *aa, int base);
156156
/* Format the object based on the format_spec, as defined in PEP 3101
157157
(Advanced String Formatting). */
158158
PyAPI_FUNC(PyObject *) _PyLong_FormatAdvanced(PyObject *obj,
159-
PyObject *format_spec,
160-
Py_ssize_t start,
161-
Py_ssize_t end);
159+
PyObject *format_spec,
160+
Py_ssize_t start,
161+
Py_ssize_t end);
162162
#endif /* Py_LIMITED_API */
163163

164164
/* These aren't really part of the long object, but they're handy. The

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy