Skip to content

Commit 15a97fd

Browse files
Conform to PEP 7 on changed line.
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 84c6755 commit 15a97fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/_datetimemodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5539,8 +5539,9 @@ datetime_best_possible(PyObject *cls, TM_FUNC f, PyObject *tzinfo)
55395539
time_t secs;
55405540
int us;
55415541

5542-
if (_PyTime_AsTimevalTime_t(ts, &secs, &us, _PyTime_ROUND_HALF_EVEN) < 0)
5542+
if (_PyTime_AsTimevalTime_t(ts, &secs, &us, _PyTime_ROUND_HALF_EVEN) < 0) {
55435543
return NULL;
5544+
}
55445545
assert(0 <= us && us <= 999999);
55455546

55465547
return datetime_from_timet_and_us(cls, f, secs, us, tzinfo);

0 commit comments

Comments
 (0)