Skip to content

Commit 891f667

Browse files
committed
Docs: fix a form error and a grammatical error in float.rst
1 parent fa9c3ee commit 891f667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/c-api/float.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ NaNs (if such things exist on the platform) isn't handled correctly, and
9696
attempting to unpack a bytes string containing an IEEE INF or NaN will raise an
9797
exception.
9898
99-
Note that NaNs type may not be preserved on IEEE platforms (silent NaN become
99+
Note that NaN types may not be preserved on IEEE platforms (silent NaN become
100100
quiet), for example on x86 systems in 32-bit mode.
101101
102102
On non-IEEE platforms with more precision, or larger dynamic range, than IEEE
@@ -111,7 +111,7 @@ Pack functions
111111
112112
The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an
113113
:c:expr:`int` argument, non-zero if you want the bytes string in little-endian
114-
format (exponent last, at ``p+1``, ``p+3``, or ``p+6`` ``p+7``), zero if you
114+
format (exponent last, at ``p+1``, ``p+3``, or ``p+6`` and ``p+7``), zero if you
115115
want big-endian format (exponent first, at *p*). The :c:macro:`PY_BIG_ENDIAN`
116116
constant can be used to use the native endian: it is equal to ``1`` on big
117117
endian processor, or ``0`` on little endian processor.

0 commit comments

Comments
 (0)