Kaydet (Commit) 30176890 authored tarafından Georg Brandl's avatar Georg Brandl

send_bytes obviously needs bytes...

üst 2b15bd81
......@@ -792,9 +792,9 @@ For example:
>>> a.send([1, 'hello', None])
>>> b.recv()
[1, 'hello', None]
>>> b.send_bytes('thank you')
>>> b.send_bytes(b'thank you')
>>> a.recv_bytes()
'thank you'
b'thank you'
>>> import array
>>> arr1 = array.array('i', range(5))
>>> arr2 = array.array('i', [0] * 10)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment