diff options
author | Jesse Noller <jnoller@gmail.com> | 2009-01-18 02:45:38 (GMT) |
---|---|---|
committer | Jesse Noller <jnoller@gmail.com> | 2009-01-18 02:45:38 (GMT) |
commit | 6ab22154ddabdb67bd510a1f2e0aa9c7e0ee607d (patch) | |
tree | 8e1d748c529dedc8fd67b9a1001673e898764465 /Doc | |
parent | b746448f46e2a996d4384ddc087eac31a60f318b (diff) | |
download | cpython-6ab22154ddabdb67bd510a1f2e0aa9c7e0ee607d.zip cpython-6ab22154ddabdb67bd510a1f2e0aa9c7e0ee607d.tar.gz cpython-6ab22154ddabdb67bd510a1f2e0aa9c7e0ee607d.tar.bz2 |
Resolve issue 4449: AssertionError in mp_benchmarks.py
Diffstat (limited to 'Doc')
-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 |