summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.10.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew/3.10.rst')
-rw-r--r--Doc/whatsnew/3.10.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 606fad2..1228f26 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -231,6 +231,12 @@ New Features
Python executable.
(Contributed by Victor Stinner in :issue:`23427`.)
+* The :c:func:`PyDateTime_DATE_GET_TZINFO` and
+ :c:func:`PyDateTime_TIME_GET_TZINFO` macros have been added for accessing
+ the ``tzinfo`` attributes of :class:`datetime.datetime` and
+ :class:`datetime.time` objects.
+ (Contributed by Zackery Spytz in :issue:`30155`.)
+
Porting to Python 3.10
----------------------