8000 Apply PEP 7 coding style · python/cpython@ee5adf8 · GitHub
[go: up one dir, main page]

Skip to content

Commit ee5adf8

Browse files
haukexvstinner
andcommitted
Apply PEP 7 coding style
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent e383418 commit ee5adf8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/timemodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,9 @@ static PyObject *
438438
time_sleep_until(PyObject *self, PyObject *deadline_obj)
439439
{
440440
_PyTime_t deadline;
441-
if (_PyTime_FromSecondsObject(&deadline, deadline_obj, _PyTime_ROUND_TIMEOUT))
441+
if (_PyTime_FromSecondsObject(&deadline, deadline_obj, _PyTime_ROUND_TIMEOUT)) {
442442
return NULL;
443+
}
443444
if (deadline < 0) {
444445
PyErr_SetString(PyExc_ValueError,
445446
"sleep_until deadline must be non-negative");

0 commit comments

Comments
 (0)
0