bpo-36783: Add new references for C API Documentation changes (GH-13204)

This commit is contained in:
Edison A 2019-05-13 00:23:38 -07:00 committed by Stéphane Wirtel
parent af070c1297
commit d28772ab69
2 changed files with 23 additions and 6 deletions

View file

@ -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