Skip to content

Commit 3c5dec6

Browse files
Remove redundant references in struct doc (GH-18053)
1 parent 6c9974e commit 3c5dec6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/struct.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Notes:
259259
called to convert the argument to an integer before packing.
260260

261261
.. versionchanged:: 3.2
262-
Use of the :meth:`__index__` method for non-integers is new in 3.2.
262+
Added use of the :meth:`__index__` method for non-integers.
263263

264264
(3)
265265
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'``,
312312
then :exc:`struct.error` is raised.
313313

314314
.. versionchanged:: 3.1
315-
In 3.0, some of the integer formats wrapped out-of-range values and
315+
Previously, some of the integer formats wrapped out-of-range values and
316316
raised :exc:`DeprecationWarning` instead of :exc:`struct.error`.
317317

318318
The ``'p'`` format character encodes a "Pascal string", meaning a short

0 commit comments

Comments
 (0)