Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Doc/library/multiprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1559,11 +1559,13 @@ inherited by child processes.
value is actually a synchronized wrapper for the array.

*typecode_or_type* determines the type of the elements of the returned array:
it is either a ctypes type or a one character typecode of the kind used by
the :mod:`array` module. If *size_or_initializer* is an integer, then it
determines the length of the array, and the array will be initially zeroed.
Otherwise, *size_or_initializer* is a sequence which is used to initialize
the array and whose length determines the length of the array.
it is either a :ref:`ctypes type <ctypes-fundamental-data-types>` or a one
character typecode of the kind used by the :mod:`array` module. In addition,
the ``c`` typecode is an alias for :class:`ctypes.c_char`. If
*size_or_initializer* is an integer, then it determines the length of the
array, and the array will be initially zeroed. Otherwise,
*size_or_initializer* is a sequence which is used to initialize the array
and whose length determines the length of the array.

If *lock* is ``True`` (the default) then a new lock object is created to
synchronize access to the value. If *lock* is a :class:`Lock` or
Expand Down
Loading