Show More
@@ -280,9 +280,9 b' Test that trimming description using mul' | |||||
280 | -------------------------------------------------------------------- |
|
280 | -------------------------------------------------------------------- | |
281 |
|
281 | |||
282 | $ $PYTHON <<EOF |
|
282 | $ $PYTHON <<EOF | |
283 | > fp = open('logfile', 'w') |
|
283 | > fp = open('logfile', 'wb') | |
284 | > fp.write('12345678901234567890123456789012345678901234567890' + |
|
284 | > fp.write(b'12345678901234567890123456789012345678901234567890' + | |
285 | > '12345') # there are 5 more columns for 80 columns |
|
285 | > b'12345') # there are 5 more columns for 80 columns | |
286 | > |
|
286 | > | |
287 | > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes |
|
287 | > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes | |
288 | > fp.write(u'\u3042\u3044\u3046\u3048'.encode('utf-8')) |
|
288 | > fp.write(u'\u3042\u3044\u3046\u3048'.encode('utf-8')) |
General Comments 0
You need to be logged in to leave comments.
Login now