]> granicus.if.org Git - python/commit
Issue #13727: Add 3 macros to access PyDateTime_Delta members:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 17 Jan 2012 20:31:50 +0000 (21:31 +0100)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Tue, 17 Jan 2012 20:31:50 +0000 (21:31 +0100)
commit5e8260b09c2aa3faa7ec4722b44e452072301b20
treed3e307c0ecbdc97c5d7fee537f68ef500817a9bb
parent0174db50a51cbd03567c5502b3c5362a1357d1bd
Issue #13727: Add 3 macros to access PyDateTime_Delta members:
PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS,
PyDateTime_DELTA_GET_MICROSECONDS.

Please use them instead of directly accessing PyDateTime_Delta struct members.
Doc/c-api/datetime.rst
Include/datetime.h
Misc/NEWS