Skip to content

Commit e23c86d

Browse files
committed
Mention that 'w' is not supported
1 parent d9fad5b commit e23c86d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Doc/library/multiprocessing.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,12 +1560,13 @@ inherited by child processes.
15601560

15611561
*typecode_or_type* determines the type of the elements of the returned array:
15621562
it is either a :ref:`ctypes type <ctypes-fundamental-data-types>` or a one
1563-
character typecode of the kind used by the :mod:`array` module. In addition,
1564-
the ``'c'`` typecode is an alias for :class:`ctypes.c_char`. If
1565-
*size_or_initializer* is an integer, then it determines the length of the
1566-
array, and the array will be initially zeroed. Otherwise,
1567-
*size_or_initializer* is a sequence which is used to initialize the array
1568-
and whose length determines the length of the array.
1563+
character typecode of the kind used by the :mod:`array` module with the
1564+
exception of ``'w'``, which is not supported. In addition, the ``'c'``
1565+
typecode is an alias for :class:`ctypes.c_char`. If *size_or_initializer*
1566+
is an integer, then it determines the length of the array, and the array
1567+
will be initially zeroed. Otherwise, *size_or_initializer* is a sequence
1568+
which is used to initialize the array and whose length determines the length
1569+
of the array.
15691570

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

0 commit comments

Comments
 (0)