summaryrefslogtreecommitdiff
path: root/Doc/data
diff options
context:
space:
mode:
authorPaul Ganssle <pganssle@users.noreply.github.com>2018-01-24 17:29:30 -0500
committerAlexander Belopolsky <abalkin@users.noreply.github.com>2018-01-24 17:29:30 -0500
commit04af5b1ba9eb546a29735fac6cb5298159069b53 (patch)
tree12e50adcc6ee03a3a4a80cb0a9b37bff4b58901b /Doc/data
parentccbe5818af20f8c12043f5c30c277a74714405e0 (diff)
downloadcpython-git-04af5b1ba9eb546a29735fac6cb5298159069b53.tar.gz
bpo-10381: Add timezone to datetime C API (#5032)
* Add timezone to datetime C API * Add documentation for timezone C API macros * Add dedicated tests for datetime type check macros * Remove superfluous C API test * Drop support for TimeZoneType in datetime C API * Expose UTC singleton to the datetime C API * Update datetime C-API documentation to include links * Add reference count information for timezone constructors
Diffstat (limited to 'Doc/data')
-rw-r--r--Doc/data/refcounts.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index b1cad48c3e..6dc86fc5e5 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -177,6 +177,14 @@ PyDelta_FromDSU:int:days::
PyDelta_FromDSU:int:seconds::
PyDelta_FromDSU:int:useconds::
+PyTimeZone_FromOffset:PyObject*::+1:
+PyTimeZone_FromOffset:PyDateTime_DeltaType*:offset:+1:Reference count not increased if offset is +00:00
+
+PyTimeZone_FromOffsetAndName:PyObject*::+1:
+PyTimeZone_FromOffsetAndName:PyDateTime_DeltaType*:offset:+1:Reference count not increased if offset is +00:00 and name == NULL
+PyTimeZone_FromOffsetAndName:PyUnicode*:name:+1:
+
+
PyDescr_NewClassMethod:PyObject*::+1:
PyDescr_NewClassMethod:PyTypeObject*:type::
PyDescr_NewClassMethod:PyMethodDef*:method::