@@ -210,9 +210,9 @@ Pack functions
210210The pack routines write 2, 4 or 8 bytes, starting at *p*. *le* is an
211211:c:expr:`int` argument, non-zero if you want the bytes string in little-endian
212212format (exponent last, at ``p+1 ``, ``p+3 ``, or ``p+6 `` and ``p+7 ``), zero if you
213- want big-endian format (exponent first, at *p *). The :c:macro:`PY_BIG_ENDIAN `
214- constant can be used to use the native endian: it is equal to ``1 `` on big
215- endian processor, or ``0 `` on little endian processor.
213+ want big-endian format (exponent first, at *p *). Use the :c:macro:`PY_LITTLE_ENDIAN `
214+ constant to select the native endian: it is equal to ``0 `` on big
215+ endian processor, or ``1 `` on little endian processor.
216216
217217Return value: ``0`` if all is OK, ``-1`` if error (and an exception is set,
218218most likely :exc: `OverflowError `).
@@ -241,8 +241,8 @@ Unpack functions
241241The unpack routines read 2, 4 or 8 bytes, starting at *p *. *le * is an
242242:c:expr: `int ` argument, non-zero if the bytes string is in little-endian format
243243(exponent last, at ``p+1 ``, ``p+3 `` or ``p+6 `` and ``p+7 ``), zero if big-endian
244- (exponent first, at *p *). The :c:macro:`PY_BIG_ENDIAN ` constant can be used to
245- use the native endian: it is equal to ``1 `` on big endian processor, or ``0 ``
244+ (exponent first, at *p *). Use the :c:macro:`PY_LITTLE_ENDIAN ` constant to
245+ select the native endian: it is equal to ``0 `` on big endian processor, or ``1 ``
246246on little endian processor.
247247
248248Return value: The unpacked double. On error, this is ``-1.0`` and
0 commit comments