Hello, I was looking at this: http://docs.python.org/lib/module-struct.html and tried the following
>>> import struct
>>> struct.calcsize('h')
2
>>> struct.calcsize('b')
1
>>> struct.calcsize('bh')
4
I would have expected
>>> struct.calcsize('bh')
3
what am I missing ?
Thanks in advance,
Jake.
--
http://mail.python.org/mailman/listinfo/python-list
