summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-26 13:59:40 (GMT)
committerGitHub <noreply@github.com>2017-10-26 13:59:40 (GMT)
commitbdf4298ae2c1d720fd808520267ca3a4e56df842 (patch)
tree7aa23788388792911019b8ad523f4ef7ef871703 /Include
parent56d1f5ca32892c7643eb8cee49c40c1644f1abfe (diff)
downloadcpython-bdf4298ae2c1d720fd808520267ca3a4e56df842.zip
cpython-bdf4298ae2c1d720fd808520267ca3a4e56df842.tar.gz
cpython-bdf4298ae2c1d720fd808520267ca3a4e56df842.tar.bz2
Fix trailing whitespaces in C files. (#4130)
Diffstat (limited to 'Include')
-rw-r--r--Include/pystate.h4
-rw-r--r--Include/pytime.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/Include/pystate.h b/Include/pystate.h
index 0821238..9381585 100644
--- a/Include/pystate.h
+++ b/Include/pystate.h
@@ -125,8 +125,8 @@ typedef struct _ts PyThreadState;
#else
typedef struct _err_stackitem {
- /* This struct represents an entry on the exception stack, which is a
- * per-coroutine state. (Coroutine in the computer science sense,
+ /* This struct represents an entry on the exception stack, which is a
+ * per-coroutine state. (Coroutine in the computer science sense,
* including the thread and generators).
* This ensures that the exception state is not impacted by "yields"
* from an except handler.
diff --git a/Include/pytime.h b/Include/pytime.h
index 9ec9b03..9f48918 100644
--- a/Include/pytime.h
+++ b/Include/pytime.h
@@ -30,14 +30,14 @@ typedef enum {
/* Round to nearest with ties going to nearest even integer.
For example, used to round from a Python float. */
_PyTime_ROUND_HALF_EVEN=2,
- /* Round away from zero
+ /* Round away from zero
For example, used for timeout. _PyTime_ROUND_CEILING rounds
-1e-9 to 0 milliseconds which causes bpo-31786 issue.
_PyTime_ROUND_UP rounds -1e-9 to -1 millisecond which keeps
the timeout sign as expected. select.poll(timeout) must block
for negative values." */
_PyTime_ROUND_UP=3,
- /* _PyTime_ROUND_TIMEOUT (an alias for _PyTime_ROUND_UP) should be
+ /* _PyTime_ROUND_TIMEOUT (an alias for _PyTime_ROUND_UP) should be
used for timeouts. */
_PyTime_ROUND_TIMEOUT = _PyTime_ROUND_UP
} _PyTime_round_t;