bpo-36783: Added C API Documentation for Time_FromTimeAndFold and PyD… · python/cpython@5765ecf

@@ -98,6 +98,22 @@ Macros to create objects:

9898

minute, second and microsecond.

9999100100101+

.. c:function:: PyObject* PyDateTime_FromDateAndTimeAndFold(int year, int month, int day, int hour, int minute, int second, int usecond, int fold)

102+103+

Return a :class:`datetime.datetime` object with the specified year, month, day, hour,

104+

minute, second, microsecond and fold.

105+106+

.. versionadded:: 3.6

107+108+109+

.. c:function:: PyObject* PyTime_FromTimeAndFold(int hour, int minute, int second, int usecond, int fold)

110+111+

Return a :class:`datetime.time` object with the specified hour, minute, second,

112+

microsecond and fold.

113+114+

.. versionadded:: 3.6

115+116+101117

.. c:function:: PyObject* PyTime_FromTime(int hour, int minute, int second, int usecond)

102118103119

Return a :class:`datetime.time` object with the specified hour, minute, second and