[Tutor] struct.calcsize curiosity...

Lawrence Wang levity at gmail.com
Tue Mar 25 22:17:09 CET 2008


>>> struct.calcsize('hq')
12
>>> struct.calcsize('qh')
10

why is this? is it platform-dependent? i'm on mac os x.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080325/ec65a758/attachment.htm 


More information about the Tutor mailing list