Skip to content

Commit d3c4765

Browse files
Apply suggestions from code review
Co-authored-by: Victor Stinner <[email protected]>
1 parent 23b4c08 commit d3c4765

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/c-api/arg.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ is out of range for the C type.
244244
For unsigned integer formats, the
245245
most significant bits are silently truncated when the receiving field is too
246246
small to receive the value, and :exc:`DeprecationWarning` is emitted when
247-
the value is larger than the maximal value the C type or less than the
247+
the value is larger than the maximal value for the corresponding C type or less than the
248248
minimal value for the corresponding signed integer type.
249249

250250
``b`` (:class:`int`) [unsigned char]
@@ -313,7 +313,7 @@ minimal value for the corresponding signed integer type.
313313

314314
For unsigned integer formats ``B``, ``H``, ``I``, ``k`` and ``K``,
315315
:exc:`DeprecationWarning` is emitted when the value is larger than
316-
the maximal value the C type or less than the minimal value for
316+
the maximal value for the corresponding C type or less than the minimal value for
317317
the corresponding signed integer type.
318318

319319

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
For unsigned integer formats in :c:func:`PyArg_ParseTuple`, accepting Python
2-
integers with value that is larger than the maximal value the corresponding
2+
integers with value that is larger than the maximal value for the corresponding
33
C type or less than the minimal value for the corresponding signed integer
44
type is now deprecated.

0 commit comments

Comments
 (0)