summaryrefslogtreecommitdiffstats
path: root/Doc/library/time.rst
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2016-09-12 02:55:16 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2016-09-12 02:55:16 (GMT)
commit18f3a9b93ccd4caeda3c34d1ce850c2cc33f7722 (patch)
tree1691d0eaaeaa74e1bbb641bada5a6186815349e0 /Doc/library/time.rst
parenta3222b8424e932783e417411e428779d08d2b8a9 (diff)
downloadcpython-18f3a9b93ccd4caeda3c34d1ce850c2cc33f7722.zip
cpython-18f3a9b93ccd4caeda3c34d1ce850c2cc33f7722.tar.gz
cpython-18f3a9b93ccd4caeda3c34d1ce850c2cc33f7722.tar.bz2
Closes #25283: Make tm_gmtoff and tm_zone available on all platforms.
Diffstat (limited to 'Doc/library/time.rst')
-rw-r--r--Doc/library/time.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst
index 7c81ce7..ae17f6f 100644
--- a/Doc/library/time.rst
+++ b/Doc/library/time.rst
@@ -83,6 +83,10 @@ An explanation of some terminology and conventions is in order.
and :attr:`tm_zone` attributes when platform supports corresponding
``struct tm`` members.
+ .. versionchanged:: 3.6
+ The :class:`struct_time` attributes :attr:`tm_gmtoff` and :attr:`tm_zone`
+ are now available on all platforms.
+
* Use the following functions to convert between time representations:
+-------------------------+-------------------------+-------------------------+
@@ -566,10 +570,6 @@ The module defines the following functions and data items:
:class:`struct_time`, or having elements of the wrong type, a
:exc:`TypeError` is raised.
- .. versionchanged:: 3.3
- :attr:`tm_gmtoff` and :attr:`tm_zone` attributes are available on platforms
- with C library supporting the corresponding fields in ``struct tm``.
-
.. function:: time()
Return the time in seconds since the epoch as a floating point number.