--- Doc/library/multiprocessing.rst.orig 2009-11-08 11:13:58.000000000 +0900 +++ Doc/library/multiprocessing.rst 2009-11-08 11:14:34.000000000 +0900 @@ -1797,14 +1797,14 @@ from array import array address = ('localhost', 6000) # family is deduced to be 'AF_INET' - listener = Listener(address, authkey='secret password') + listener = Listener(address, authkey=b'secret password') conn = listener.accept() print('connection accepted from', listener.last_accepted) conn.send([2.25, None, 'junk', float]) - conn.send_bytes('hello') + conn.send_bytes(b'hello') conn.send_bytes(array('i', [42, 1729])) @@ -1818,7 +1818,7 @@ from array import array address = ('localhost', 6000) - conn = Client(address, authkey='secret password') + conn = Client(address, authkey=b'secret password') print(conn.recv()) # => [2.25, None, 'junk', float]