Skip to content

Commit 329db66

Browse files
committed
Untabify _datetimemodule.c
1 parent 15c5520 commit 329db66

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Modules/_datetimemodule.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3259,16 +3259,16 @@ date_fromtimestamp(PyObject *cls, PyObject *obj)
32593259

32603260
#ifdef MS_WINDOWS
32613261
if (t < 0) {
3262-
if (_PyTime_localtime(0, &tm) != 0)
3263-
return NULL;
3264-
3265-
PyObject *date = new_date_subclass_ex(tm.tm_year + 1900,
3266-
tm.tm_mon + 1,
3267-
tm.tm_mday,
3268-
cls);
3269-
int normalize = 1, negate = 0;
3270-
PyObject *delta = new_delta(0, (int)t, 0, normalize);
3271-
return add_date_timedelta(PyDate_CAST(date), PyDelta_CAST(delta), negate);
3262+
if (_PyTime_localtime(0, &tm) != 0)
3263+
return NULL;
3264+
3265+
PyObject *date = new_date_subclass_ex(tm.tm_year + 1900,
3266+
tm.tm_mon + 1,
3267+
tm.tm_mday,
3268+
cls);
3269+
int normalize = 1, negate = 0;
3270+
PyObject *delta = new_delta(0, (int)t, 0, normalize);
3271+
return add_date_timedelta(PyDate_CAST(date), PyDelta_CAST(delta), negate);
32723272
}
32733273
#endif
32743274

0 commit comments

Comments
 (0)