diff options
author | Edison A <20975616+SimiCode@users.noreply.github.com> | 2019-05-13 07:23:38 (GMT) |
---|---|---|
committer | Stéphane Wirtel <stephane@wirtel.be> | 2019-05-13 07:23:38 (GMT) |
commit | d28772ab6967fea136c0707f0207673ebad66f61 (patch) | |
tree | 3476bcd1aab64f0f4aa9fb8ea7855545e0f0c7b8 /Doc/c-api/datetime.rst | |
parent | af070c12970db34f004adf2e20306a285f06f3a9 (diff) | |
download | cpython-d28772ab6967fea136c0707f0207673ebad66f61.zip cpython-d28772ab6967fea136c0707f0207673ebad66f61.tar.gz cpython-d28772ab6967fea136c0707f0207673ebad66f61.tar.bz2 |
bpo-36783: Add new references for C API Documentation changes (GH-13204)
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 b7949e2..77b1b21 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 |