diff options
author | Georg Brandl <georg@python.org> | 2010-08-17 15:07:14 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-08-17 15:07:14 (GMT) |
commit | 67b21b7547feee634bbecafeb88606ff350c0d3c (patch) | |
tree | bd493e5b10f9cead75ed145def9e0098b53188ab /Doc/library/datetime.rst | |
parent | 9e25701e87936ef61c348b5da6f9b580a52bab19 (diff) | |
download | cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.zip cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.gz cpython-67b21b7547feee634bbecafeb88606ff350c0d3c.tar.bz2 |
Consistency check for versionadded/changed directives.
Diffstat (limited to 'Doc/library/datetime.rst')
-rw-r--r-- | Doc/library/datetime.rst | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 22c82e8..197aad2 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -302,12 +302,11 @@ In addition to the operations listed above :class:`timedelta` objects support certain additions and subtractions with :class:`date` and :class:`datetime` objects (see below). -.. versionadded:: 3.2 - Floor division and true division of a :class:`timedelta` object by - another :class:`timedelta` object are now supported, as are - remainder operations and the :func:`divmod` function. True - division and multiplication of a :class:`timedelta` object by - a :class:`float` object are now supported. +.. versionchanged:: 3.2 + Floor division and true division of a :class:`timedelta` object by another + :class:`timedelta` object are now supported, as are remainder operations and + the :func:`divmod` function. True division and multiplication of a + :class:`timedelta` object by a :class:`float` object are now supported. Comparisons of :class:`timedelta` objects are supported with the @@ -1779,9 +1778,7 @@ Notes: For example, if :meth:`utcoffset` returns ``timedelta(hours=-3, minutes=-30)``, ``%z`` is replaced with the string ``'-0330'``. -.. versionadded:: 3.2 - - When the ``%z`` directive is provided to the :meth:`strptime` - method, an aware :class:`datetime` object will be produced. The - ``tzinfo`` of the result will be set to a :class:`timezone` - instance. +.. versionchanged:: 3.2 + When the ``%z`` directive is provided to the :meth:`strptime` method, an + aware :class:`datetime` object will be produced. The ``tzinfo`` of the + result will be set to a :class:`timezone` instance. |