diff options
author | Jesse Noller <jnoller@gmail.com> | 2009-01-18 03:11:38 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2009-01-18 03:11:38 (GMT) |
commit | b0516a6bc6cdc580846b075bc27b1d3281dd6295 (patch) | |
tree | 051beb24dbf3d805f6b8f1fd054c68031d1582bc /Doc/library/multiprocessing.rst | |
parent | 34f9b4c6f1b4129d8ded2cfd580687295bc9cb63 (diff) | |
download | cpython-b0516a6bc6cdc580846b075bc27b1d3281dd6295.zip cpython-b0516a6bc6cdc580846b075bc27b1d3281dd6295.tar.gz cpython-b0516a6bc6cdc580846b075bc27b1d3281dd6295.tar.bz2 |
Merge r68708 to py3k, fixes 4449
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 9331b7c..50714ef 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -878,7 +878,7 @@ Shared :mod:`ctypes` Objects It is possible to create shared objects using shared memory which can be inherited by child processes. -.. function:: Value(typecode_or_type[, *args, lock]]) +.. function:: Value(typecode_or_type, *args[, lock]) Return a :mod:`ctypes` object allocated from shared memory. By default the return value is actually a synchronized wrapper for the object. @@ -960,7 +960,7 @@ processes. *typecode_or_type* determines the type of the returned object: it is either a ctypes type or a one character typecode of the kind used by the :mod:`array` - module. */*args* is passed on to the constructor for the type. + module. *\*args* is passed on to the constructor for the type. Note that setting and getting the value is potentially non-atomic -- use :func:`Value` instead to make sure that access is automatically synchronized @@ -970,7 +970,7 @@ processes. attributes which allow one to use it to store and retrieve strings -- see documentation for :mod:`ctypes`. -.. function:: Array(typecode_or_type, size_or_initializer[, *args[, lock]]) +.. function:: Array(typecode_or_type, size_or_initializer, *args[, lock]) The same as :func:`RawArray` except that depending on the value of *lock* a process-safe synchronization wrapper may be returned instead of a raw ctypes |