mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 01:20:23 +08:00
6 lines
125 B
Python
6 lines
125 B
Python
# test construction of bytearray from array with float type
|
|
|
|
from array import array
|
|
|
|
print(bytearray(array('f', [1, 2.3])))
|