diff options
author | Richard Oudkerk <shibturn@gmail.com> | 2012-09-10 12:00:33 (GMT) |
---|---|---|
committer | Richard Oudkerk <shibturn@gmail.com> | 2012-09-10 12:00:33 (GMT) |
commit | b517596721e3036ce914a8a065500b77ee83bd97 (patch) | |
tree | 0eaa0c0c14ce2fd3391ac9a7a2cd04bf9cbfa157 | |
parent | 48d8d2143867fa7027499146dd69f879e92a1d5d (diff) | |
download | cpython-b517596721e3036ce914a8a065500b77ee83bd97.zip cpython-b517596721e3036ce914a8a065500b77ee83bd97.tar.gz cpython-b517596721e3036ce914a8a065500b77ee83bd97.tar.bz2 |
Issue #15901: Change example to use byte string instead of string
-rw-r--r-- | Doc/library/multiprocessing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index e93d121..18302a7 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1093,7 +1093,7 @@ process:: n = Value('i', 7) x = Value(c_double, 1.0/3.0, lock=False) - s = Array('c', 'hello world', lock=lock) + s = Array('c', b'hello world', lock=lock) A = Array(Point, [(1.875,-6.25), (-5.75,2.0), (2.375,9.5)], lock=lock) p = Process(target=modify, args=(n, x, s, A)) |