diff options
Diffstat (limited to 'Doc/c-api/datetime.rst')
-rw-r--r-- | Doc/c-api/datetime.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/c-api/datetime.rst b/Doc/c-api/datetime.rst index b7949e2350..77b1b21674 100644 --- a/Doc/c-api/datetime.rst +++ b/Doc/c-api/datetime.rst @@ -106,6 +106,12 @@ Macros to create objects: .. versionadded:: 3.6 +.. c:function:: PyObject* PyTime_FromTime(int hour, int minute, int second, int usecond) + + Return a :class:`datetime.time` object with the specified hour, minute, second and + microsecond. + + .. c:function:: PyObject* PyTime_FromTimeAndFold(int hour, int minute, int second, int usecond, int fold) Return a :class:`datetime.time` object with the specified hour, minute, second, @@ -114,12 +120,6 @@ Macros to create objects: .. versionadded:: 3.6 -.. c:function:: PyObject* PyTime_FromTime(int hour, int minute, int second, int usecond) - - Return a :class:`datetime.time` object with the specified hour, minute, second and - microsecond. - - .. c:function:: PyObject* PyDelta_FromDSU(int days, int seconds, int useconds) Return a :class:`datetime.timedelta` object representing the given number |