diff options
author | Georg Brandl <georg@python.org> | 2010-10-29 05:22:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-10-29 05:22:17 (GMT) |
commit | 30176890d094cbe398c1f8669de4b399f2719751 (patch) | |
tree | b44837f3a341a9f03bee8e08c8445c8472844736 /Doc | |
parent | 2b15bd810deb7172ffa62643a78a6611d4ba928b (diff) | |
download | cpython-30176890d094cbe398c1f8669de4b399f2719751.zip cpython-30176890d094cbe398c1f8669de4b399f2719751.tar.gz cpython-30176890d094cbe398c1f8669de4b399f2719751.tar.bz2 |
send_bytes obviously needs bytes...
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/multiprocessing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index aa1e752..8fec5a3 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -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) |