summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-18 19:12:01 -0700
committerGitHub <noreply@github.com>2019-05-18 19:12:01 -0700
commit951b161857a840d4d14de0a5a6610e212d78ab68 (patch)
tree567a36242f31c03549bcb9e5064f3f9a52f1adde /Doc
parent561c63cd70727e92179018188a9a9c33587fbd3f (diff)
downloadcpython-git-951b161857a840d4d14de0a5a6610e212d78ab68.tar.gz
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>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/datetime.rst12
-rw-r--r--Doc/data/refcounts.dat17
2 files changed, 23 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
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index 35527c179f..213ddcb61f 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -413,6 +413,16 @@ PyDateTime_FromDateAndTime:int:minute::
PyDateTime_FromDateAndTime:int:second::
PyDateTime_FromDateAndTime:int:usecond::
+PyDateTime_FromDateAndTimeAndFold:PyObject*::+1:
+PyDateTime_FromDateAndTimeAndFold:int:year::
+PyDateTime_FromDateAndTimeAndFold:int:month::
+PyDateTime_FromDateAndTimeAndFold:int:day::
+PyDateTime_FromDateAndTimeAndFold:int:hour::
+PyDateTime_FromDateAndTimeAndFold:int:minute::
+PyDateTime_FromDateAndTimeAndFold:int:second::
+PyDateTime_FromDateAndTimeAndFold:int:usecond::
+PyDateTime_FromDateAndTimeAndFold:int:fold::
+
PyDateTime_FromTimestamp:PyObject*::+1:
PyDateTime_FromTimestamp:PyObject*:args:0:
@@ -2210,6 +2220,13 @@ PyTime_FromTime:int:minute::
PyTime_FromTime:int:second::
PyTime_FromTime:int:usecond::
+PyTime_FromTimeAndFold:PyObject*::+1:
+PyTime_FromTimeAndFold:int:hour::
+PyTime_FromTimeAndFold:int:minute::
+PyTime_FromTimeAndFold:int:second::
+PyTime_FromTimeAndFold:int:usecond::
+PyTime_FromTimeAndFold:int:fold::
+
PyTraceMalloc_Track:int:::
PyTraceMalloc_Track:unsigned int:domain::
PyTraceMalloc_Track:uintptr_t:ptr::