"bob gailer" <[email protected]> wrote
>>> struct.calcsize('s')
1
>>> struct.calcsize('d')
8
>>> struct.calcsize('sd')
16

Why? Should not that be 9?

Numbers always start on word boundaries.

struct.calcsize('ds')
9

Alan G.


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to