diff options
author | Paul Ganssle <pganssle@users.noreply.github.com> | 2018-01-24 22:29:30 (GMT) |
---|---|---|
committer | Alexander Belopolsky <abalkin@users.noreply.github.com> | 2018-01-24 22:29:30 (GMT) |
commit | 04af5b1ba9eb546a29735fac6cb5298159069b53 (patch) | |
tree | 12e50adcc6ee03a3a4a80cb0a9b37bff4b58901b /Doc/data | |
parent | ccbe5818af20f8c12043f5c30c277a74714405e0 (diff) | |
download | cpython-04af5b1ba9eb546a29735fac6cb5298159069b53.zip cpython-04af5b1ba9eb546a29735fac6cb5298159069b53.tar.gz cpython-04af5b1ba9eb546a29735fac6cb5298159069b53.tar.bz2 |
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.dat | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index b1cad48..6dc86fc 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:: |