[docs] is (big-endian) ?

Berker Peksağ berker.peksag at gmail.com
Mon Dec 5 02:54:54 EST 2016


On Sun, Dec 4, 2016 at 11:47 AM, Volunteer <z23color at 163.com> wrote:
> https://docs.python.org/3/library/struct.html
>
> 7.1.2.1. Byte Order, Size, and Alignment
>
> Native byte order is big-endian or little-endian, depending on the host
> system. For example, Intel x86 and AMD64 (x86-64) are little-endian;
> Motorola 68000 and PowerPC G5 are big-endian; ARM and Intel Itanium feature
> switchable endianness (bi-endian). Use sys.byteorder to check the endianness
> of your system.
>
>
> endianness (bi-endian) error?
>
> is (big-endian) ?

Hi Volunteer,

bi-endian is not a typo. Quoting from https://en.wikipedia.org/wiki/Endianness

> There are also some bi-endian processors that operate in either little-endian or big-endian mode.

--Berker


More information about the docs mailing list