Skip to content

Commit bdf4298

Browse files
Fix trailing whitespaces in C files. (python#4130)
1 parent 56d1f5c commit bdf4298

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Include/pystate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ typedef struct _ts PyThreadState;
125125
#else
126126

127127
typedef struct _err_stackitem {
128-
/* This struct represents an entry on the exception stack, which is a
129-
* per-coroutine state. (Coroutine in the computer science sense,
128+
/* This struct represents an entry on the exception stack, which is a
129+
* per-coroutine state. (Coroutine in the computer science sense,
130130
* including the thread and generators).
131131
* This ensures that the exception state is not impacted by "yields"
132132
* from an except handler.

Include/pytime.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ typedef enum {
3030
/* Round to nearest with ties going to nearest even integer.
3131
For example, used to round from a Python float. */
3232
_PyTime_ROUND_HALF_EVEN=2,
33-
/* Round away from zero
33+
/* Round away from zero
3434
For example, used for timeout. _PyTime_ROUND_CEILING rounds
3535
-1e-9 to 0 milliseconds which causes bpo-31786 issue.
3636
_PyTime_ROUND_UP rounds -1e-9 to -1 millisecond which keeps
3737
the timeout sign as expected. select.poll(timeout) must block
3838
for negative values." */
3939
_PyTime_ROUND_UP=3,
40-
/* _PyTime_ROUND_TIMEOUT (an alias for _PyTime_ROUND_UP) should be
40+
/* _PyTime_ROUND_TIMEOUT (an alias for _PyTime_ROUND_UP) should be
4141
used for timeouts. */
4242
_PyTime_ROUND_TIMEOUT = _PyTime_ROUND_UP
4343
} _PyTime_round_t;

Modules/overlapped.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ do_WSARecv(OverlappedObject *self, HANDLE handle,
804804
WSABUF wsabuf;
805805
int ret;
806806
DWORD err;
807-
807+
808808
wsabuf.buf = bufstart;
809809
wsabuf.len = buflen;
810810

Python/pystate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ PyThreadState_Clear(PyThreadState *tstate)
450450
Py_CLEAR(tstate->exc_state.exc_type);
451451
Py_CLEAR(tstate->exc_state.exc_value);
452452
Py_CLEAR(tstate->exc_state.exc_traceback);
453-
453+
454454
/* The stack of exception states should contain just this thread. */
455455
assert(tstate->exc_info->previous_item == NULL);
456456
if (Py_VerboseFlag && tstate->exc_info != &tstate->exc_state) {

0 commit comments

Comments
 (0)