projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48d8d21
)
Issue #15901: Change example to use byte string instead of string
author
Richard Oudkerk
<shibturn@gmail.com>
Mon, 10 Sep 2012 12:00:33 +0000
(13:00 +0100)
committer
Richard Oudkerk
<shibturn@gmail.com>
Mon, 10 Sep 2012 12:00:33 +0000
(13:00 +0100)
Doc/library/multiprocessing.rst
patch
|
blob
|
history
diff --git
a/Doc/library/multiprocessing.rst
b/Doc/library/multiprocessing.rst
index e93d121a5fcffaedfe7343b65baf10586fc768b3..18302a792c3d791c698f34ce90ccd51b5b90532e 100644
(file)
--- 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))