Skip to content

Commit e1b192a

Browse files
committed
fix nanoseconds_to_delta
1 parent b6a5155 commit e1b192a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_datetimemodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ microseconds_to_delta_ex(PyObject *pyus, PyTypeObject *type)
23482348
static PyObject *
23492349
nanoseconds_to_delta(PyObject *pyns)
23502350
{
2351-
return new_delta(0, 0, 0, PyLong_AsLong(pyns), 1, DELTA_TYPE(NO_STATE));
2351+
return new_delta(0, 0, 0, PyLong_AsLong(pyns), 1);
23522352
}
23532353

23542354
static PyObject *

0 commit comments

Comments
 (0)