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

Skip to content

Commit 329a740

Browse files
haukexvstinner
andauthored
Apply PEP 7 coding style
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 96110f8 commit 329a740

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
@@ -436,8 +436,9 @@ static PyObject *
436436
time_sleep_until(PyObject *self, PyObject *deadline_obj)
437437
{
438438
_PyTime_t deadline;
439-
if (_PyTime_FromSecondsObject(&deadline, deadline_obj, _PyTime_ROUND_TIMEOUT))
439+
if (_PyTime_FromSecondsObject(&deadline, deadline_obj, _PyTime_ROUND_TIMEOUT)) {
440440
return NULL;
441+
}
441442
if (deadline < 0) {
442443
PyErr_SetString(PyExc_ValueError,
443444
"sleep_until deadline must be non-negative");

0 commit comments

Comments
 (0)
0