289
289
that stores only homogeneous data and stores it more compactly. The following
290
290
example shows an array of numbers stored as two byte unsigned binary numbers
291
291
(typecode ``"H"``) rather than the usual 16 bytes per entry for regular lists of
294
294
>>> from array import array
295
295
>>> a = array('H', [4000, 10, 700, 22222])