diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2021-08-09 18:32:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-09 18:32:54 (GMT) |
commit | 058fb35b57ca8c5063d16ec818e668b3babfea65 (patch) | |
tree | 7c476bb7c59e65a9e8c83ca633068be3f14a1975 /Modules | |
parent | 7d14fdb03c3e8384c01da1b21647ce837ed6a29c (diff) | |
download | cpython-058fb35b57ca8c5063d16ec818e668b3babfea65.zip cpython-058fb35b57ca8c5063d16ec818e668b3babfea65.tar.gz cpython-058fb35b57ca8c5063d16ec818e668b3babfea65.tar.bz2 |
bpo-44854: Remove trailing whitespaces (GH-27689)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_bisectmodule.c | 2 | ||||
-rw-r--r-- | Modules/_ctypes/_ctypes_test.c | 2 | ||||
-rw-r--r-- | Modules/_json.c | 2 | ||||
-rw-r--r-- | Modules/termios.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_bisectmodule.c b/Modules/_bisectmodule.c index aa63b68..26c4b9b 100644 --- a/Modules/_bisectmodule.c +++ b/Modules/_bisectmodule.c @@ -240,7 +240,7 @@ _bisect_insort_left_impl(PyObject *module, PyObject *a, PyObject *x, { PyObject *result, *key_x; Py_ssize_t index; - + if (key == Py_None) { index = internal_bisect_left(a, x, lo, hi, key); } else { diff --git a/Modules/_ctypes/_ctypes_test.c b/Modules/_ctypes/_ctypes_test.c index 1ccad8e..a33d15d 100644 --- a/Modules/_ctypes/_ctypes_test.c +++ b/Modules/_ctypes/_ctypes_test.c @@ -1034,7 +1034,7 @@ EXPORT (HRESULT) KeepObject(IUnknown *punk) static struct PyModuleDef_Slot _ctypes_test_slots[] = { {0, NULL} -}; +}; static struct PyModuleDef _ctypes_testmodule = { PyModuleDef_HEAD_INIT, diff --git a/Modules/_json.c b/Modules/_json.c index e10f83c..6f68c1f 100644 --- a/Modules/_json.c +++ b/Modules/_json.c @@ -321,7 +321,7 @@ raise_errmsg(const char *msg, PyObject *s, Py_ssize_t end) if (decoder == NULL) { return; } - + _Py_IDENTIFIER(JSONDecodeError); PyObject *JSONDecodeError = _PyObject_GetAttrId(decoder, &PyId_JSONDecodeError); Py_DECREF(decoder); diff --git a/Modules/termios.c b/Modules/termios.c index a664959..fdfe589 100644 --- a/Modules/termios.c +++ b/Modules/termios.c @@ -1004,7 +1004,7 @@ static void termiosmodule_free(void *m) { termiosmodule_clear((PyObject *)m); } -static int +static int termios_exec(PyObject *mod) { struct constant *constant = termios_constants; |