17 Jun
2020
17 Jun
'20
11:56 a.m.
Hello in https://docs.python.org/3/library/array.html#module-array The table listing typecodes (probably) contains typos using the following script import array tc = 'bhilqfd' for t in tc: ar=array.array(t) print(ar.typecode, ar.itemsize) I get the following itemsize (MacOS 10.13.6 Python 3.8.3) From documentation 3.8.3 b B 1 1 h H 2 2 i I 4 2 typo -> 4 l L 8 4 typo -> 8 q Q 8 8 f f 4 4 d d 8 8 Best regards Francis (native language French)