◐ Shell
clean mode source ↗

Message 81197 - Python tracker

The default endiand and alignment is "native". Using <, >, = or ! 
endian, the alignement is standard.

Python 3.1a0 (py3k:69105M, Feb  3 2009, 15:04:35)
>>> struct.calcsize('cd')
12
>>> struct.calcsize('=cd')
9
>>> struct.calcsize('<cd')
9