Files
TencentOS-tiny/components/language/micropython/tests/basics/bytes_add.py
2022-09-29 12:10:37 +08:00

7 lines
152 B
Python

# test bytes + other
print(b"123" + b"456")
print(b"123" + b"") # RHS is empty, can be optimised
print(b"" + b"123") # LHS is empty, can be optimised