2 parents b534eaa + 65081ce commit 791aa37Copy full SHA for 791aa37
1 file changed
source/c05/p09_read_binary_data_into_mutable_buffer.rst
@@ -34,9 +34,9 @@
34
>>> buf = read_into_buffer('sample.bin')
35
>>> buf
36
bytearray(b'Hello World')
37
- >>> buf[0:5] = b'Hallo'
+ >>> buf[0:5] = b'Hello'
38
39
- bytearray(b'Hallo World')
+ bytearray(b'Hello World')
40
>>> with open('newsample.bin', 'wb') as f:
41
... f.write(buf)
42
...
0 commit comments