summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2012-01-17 20:31:50 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2012-01-17 20:31:50 (GMT)
commit5e8260b09c2aa3faa7ec4722b44e452072301b20 (patch)
treed3e307c0ecbdc97c5d7fee537f68ef500817a9bb /Misc
parent0174db50a51cbd03567c5502b3c5362a1357d1bd (diff)
downloadcpython-5e8260b09c2aa3faa7ec4722b44e452072301b20.zip
cpython-5e8260b09c2aa3faa7ec4722b44e452072301b20.tar.gz
cpython-5e8260b09c2aa3faa7ec4722b44e452072301b20.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a2954d8..8178a92 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2056,6 +2056,10 @@ Tests
C-API
-----
+- Issue #13727: Add 3 macros to access PyDateTime_Delta members:
+ PyDateTime_DELTA_GET_DAYS, PyDateTime_DELTA_GET_SECONDS,
+ PyDateTime_DELTA_GET_MICROSECONDS.
+
- Issue #10542: Add 4 macros to work with surrogates: Py_UNICODE_IS_SURROGATE,
Py_UNICODE_IS_HIGH_SURROGATE, Py_UNICODE_IS_LOW_SURROGATE,
Py_UNICODE_JOIN_SURROGATES.