@@ -198,16 +198,15 @@ is the IEEE 754 binary64 double precision format, although the NaN type may
198198not be preserved on some platforms while unpacking (signaling NaNs become quiet
199199NaNs), for example on x86 systems in 32-bit mode.
200200
201- It's assumed, that the :c:expr:`double` type has the IEEE 754 binary64 double
201+ It's assumed that the :c:expr:`double` type has the IEEE 754 binary64 double
202202precision format. What happens if it's not true is partly accidental (alas).
203203On non-IEEE platforms with more precision, or larger dynamic range, than IEEE
204204754 supports, not all values can be packed; on non-IEEE platforms with less
205205 precision, or smaller dynamic range, not all values can be unpacked. The
206206packing of special numbers like INFs and NaNs (if such things exist on the
207- platform) may be not handled correctly, and attempting to unpack a bytes string
207+ platform) may not be handled correctly, and attempting to unpack a bytes string
208208containing an IEEE INF or NaN may raise an exception.
209209
210-
211210.. versionadded:: 3.11
212211
213212Pack functions
@@ -224,7 +223,7 @@ Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set,
224223most likely :exc: `OverflowError `).
225224
226225.. impl-detail::
227- The :c:func:`PyFloat_Pack8` function always succeeds in the CPython.
226+ The :c:func:`PyFloat_Pack8` function always succeeds in CPython.
228227
229228.. c:function:: int PyFloat_Pack2(double x, char *p, int le)
230229
@@ -254,7 +253,7 @@ Return value: The unpacked double. On error, this is ``-1.0`` and
254253:exc: `OverflowError `).
255254
256255.. impl-detail::
257- These functions always succeed in the CPython.
256+ These functions always succeed in CPython.
258257
259258.. c:function:: double PyFloat_Unpack2(const char *p, int le)
260259
0 commit comments