diff options
author | Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com> | 2020-02-10 20:17:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 20:17:54 (GMT) |
commit | 3c5dec65e99ab7b641f1663c88e3332fff944881 (patch) | |
tree | d45beb2cd221d8b260f92d605d57f08c2f1d183f /Doc | |
parent | 6c9974e12c50150149b989aaef68be1fe46ea670 (diff) | |
download | cpython-3c5dec65e99ab7b641f1663c88e3332fff944881.zip cpython-3c5dec65e99ab7b641f1663c88e3332fff944881.tar.gz cpython-3c5dec65e99ab7b641f1663c88e3332fff944881.tar.bz2 |
Remove redundant references in struct doc (GH-18053)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/struct.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst index 1f90e3d..856b6da 100644 --- a/Doc/library/struct.rst +++ b/Doc/library/struct.rst @@ -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 |