Home
last modified time | relevance | path

Searched refs:size_or_initializer (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/multiprocessing/
Dsharedctypes.py54 def RawArray(typecode_or_type, size_or_initializer): argument
59 if isinstance(size_or_initializer, int):
60 type_ = type_ * size_or_initializer
65 type_ = type_ * len(size_or_initializer)
67 result.__init__(*size_or_initializer)
84 def Array(typecode_or_type, size_or_initializer, *, lock=True, ctx=None): argument
88 obj = RawArray(typecode_or_type, size_or_initializer)
Dcontext.py127 def RawArray(self, typecode_or_type, size_or_initializer): argument
130 return RawArray(typecode_or_type, size_or_initializer)
138 def Array(self, typecode_or_type, size_or_initializer, *, lock=True): argument
141 return Array(typecode_or_type, size_or_initializer, lock=lock,
/third_party/python/Doc/library/
Dmultiprocessing.rst1443 .. function:: Array(typecode_or_type, size_or_initializer, *, lock=True)
1450 the :mod:`array` module. If *size_or_initializer* is an integer, then it
1452 Otherwise, *size_or_initializer* is a sequence which is used to initialize
1486 .. function:: RawArray(typecode_or_type, size_or_initializer)
1492 the :mod:`array` module. If *size_or_initializer* is an integer then it
1494 Otherwise *size_or_initializer* is a sequence which is used to initialize the
1517 .. function:: Array(typecode_or_type, size_or_initializer, *, lock=True)