PythonExtra/tests/basics/bytes_construct_bytearray.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
72 B
Python
Raw Permalink Normal View History

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