Searched refs:size_or_initializer (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 81 def RawArray(typecode_or_type, size_or_initializer): argument 86 if isinstance(size_or_initializer, (int, long)): 87 type_ = type_ * size_or_initializer 92 type_ = type_ * len(size_or_initializer) 94 result.__init__(*size_or_initializer) 113 def Array(typecode_or_type, size_or_initializer, **kwds): argument 120 obj = RawArray(typecode_or_type, size_or_initializer)
|
D | __init__.py | 241 def RawArray(typecode_or_type, size_or_initializer): argument 246 return RawArray(typecode_or_type, size_or_initializer) 255 def Array(typecode_or_type, size_or_initializer, **kwds): argument 260 return Array(typecode_or_type, size_or_initializer, **kwds)
|
/external/python/cpython2/Doc/library/ |
D | multiprocessing.rst | 1154 .. function:: Array(typecode_or_type, size_or_initializer, *, lock=True) 1161 the :mod:`array` module. If *size_or_initializer* is an integer, then it 1163 Otherwise, *size_or_initializer* is a sequence which is used to initialize 1197 .. function:: RawArray(typecode_or_type, size_or_initializer) 1203 the :mod:`array` module. If *size_or_initializer* is an integer then it 1205 Otherwise *size_or_initializer* is a sequence which is used to initialize the 1228 .. function:: Array(typecode_or_type, size_or_initializer, *args[, lock])
|