From 30176890d094cbe398c1f8669de4b399f2719751 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 29 Oct 2010 05:22:17 +0000 Subject: [PATCH] send_bytes obviously needs bytes... --- Doc/library/multiprocessing.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index aa1e752bc8..8fec5a3408 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) -- 2.40.0