diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-01-18 04:01:18 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-01-18 04:01:18 (GMT) |
commit | afd7eaadb082aac48bc6fbd21b39a371b718f8c0 (patch) | |
tree | ef65a416fde880a1c9f7cfcbc5aab01a235086c1 /Doc/library | |
parent | 0293c804101f76796e1bf826717edd3417b2c431 (diff) | |
download | cpython-afd7eaadb082aac48bc6fbd21b39a371b718f8c0.zip cpython-afd7eaadb082aac48bc6fbd21b39a371b718f8c0.tar.gz cpython-afd7eaadb082aac48bc6fbd21b39a371b718f8c0.tar.bz2 |
Merged revisions 68708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68708 | jesse.noller | 2009-01-17 20:45:38 -0600 (Sat, 17 Jan 2009) | 1 line
Resolve issue 4449: AssertionError in mp_benchmarks.py
........
Diffstat (limited to 'Doc/library')
-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 72ac38e..fe54f9b 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -880,7 +880,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. @@ -962,7 +962,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 @@ -972,7 +972,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 |