]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove redundant references in struct doc (GH-18053)
authorChristophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Mon, 10 Feb 2020 20:17:54 +0000 (21:17 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2020 20:17:54 +0000 (12:17 -0800)
Doc/library/struct.rst

index 1f90e3d1ba855749c5c1dd092e1dfbcf8591f47e..856b6da8bb255d541364e6c7f41cd05776a68bd6 100644 (file)
@@ -259,7 +259,7 @@ Notes:
    called to convert the argument to an integer before packing.
 
    .. versionchanged:: 3.2
-      Use of the :meth:`__index__` method for non-integers is new in 3.2.
+      Added use of the :meth:`__index__` method for non-integers.
 
 (3)
    The ``'n'`` and ``'N'`` conversion codes are only available for the native
@@ -312,7 +312,7 @@ When packing a value ``x`` using one of the integer formats (``'b'``,
 then :exc:`struct.error` is raised.
 
 .. versionchanged:: 3.1
-   In 3.0, some of the integer formats wrapped out-of-range values and
+   Previously, some of the integer formats wrapped out-of-range values and
    raised :exc:`DeprecationWarning` instead of :exc:`struct.error`.
 
 The ``'p'`` format character encodes a "Pascal string", meaning a short