micropython/tests/basics/bytes_construct_bytearray.py

4 wiersze
72 B
Python

# test construction of bytes from bytearray
print(bytes(bytearray(4)))