bpo-36783: Add new references for C API Documentation changes (GH-13204)
(cherry picked from commit d28772ab6967fea136c0707f0207673ebad66f61)
Co-authored-by: Edison A <20975616+SimiCode@users.noreply.github.com>
diff --git a/Doc/c-api/datetime.rst b/Doc/c-api/datetime.rst
index b7949e2..77b1b21 100644
--- a/Doc/c-api/datetime.rst
+++ b/Doc/c-api/datetime.rst
@@ -106,6 +106,12 @@
.. 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 @@
.. 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