Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
  • Loading branch information
serhiy-storchaka and StanFromIreland authored Jan 3, 2025
1 parent f21fd01 commit 7c7aaa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/c-api/arg.rst
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ also use the corresponding special methods :meth:`~object.__index__`,
:meth:`~object.__float__` or :meth:`~object.__complex__` to convert
the Python object to the required type.

For signed integer format, :exc:`OverflowError` is raised if the value
For signed integer formats, :exc:`OverflowError` is raised if the value
is out of range for the C type.
For unsigned integer format, no proper range checking is done --- the
For unsigned integer formats, no proper range checking is done --- the
most significant bits are silently truncated when the receiving field is too
small to receive the value.

Expand Down

0 comments on commit 7c7aaa3

Please sign in to comment.