You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
245 B
8 lines
245 B
# test bytes + other
|
|
|
|
print(b"123" + b"456")
|
|
print(b"123" + bytearray(2))
|
|
|
|
print(b"123" + b"") # RHS is empty, can be optimised
|
|
print(b"" + b"123") # LHS is empty, can be optimised
|
|
print(b"" + bytearray(1)) # LHS is empty but can't be optimised
|
|
|