Size of the array in memory, in bytes.tounicode($self, /) --
Extends this array with data from the unicode string ustr.
Convert the array to a unicode string. The array must be a unicode type array; otherwise a ValueError is raised. Use array.tobytes().decode() to obtain a unicode string from an array of some other type.tobytes($self, /) --
Convert the array to an array of machine values and return the bytes representation.tostring($self, /) --
Convert the array to an array of machine values and return the bytes representation.
This method is deprecated. Use tobytes instead.tolist($self, /) --
Convert array to an ordinary list with the same items.tofile($self, f, /) --
Write all items (as machine values) to the file object f.reverse($self, /) --
Reverse the order of the items in the array.remove($self, v, /) --
Remove the first occurrence of v in the array.__reduce_ex__($self, value, /) --
Return state information for pickling.pop($self, i=-1, /) --
Return the i-th element and delete it from the array.
i defaults to -1.insert($self, i, v, /) --
Insert a new item v into the array before position i.index($self, v, /) --
Return index of first occurrence of v in the array.fromunicode($self, ustr, /) --
Extends this array with data from the unicode string ustr.
The array must be a unicode type array; otherwise a ValueError is raised. Use array.frombytes(ustr.encode(...)) to append Unicode data to an array of some other type.frombytes($self, buffer, /) --
Appends items from the string, interpreting it as an array of machine values, as if it had been read from a file using the fromfile() method).fromstring($self, buffer, /) --
Appends items from the string, interpreting it as an array of machine values, as if it had been read from a file using the fromfile() method).
This method is deprecated. Use frombytes instead.fromlist($self, list, /) --
Append items to array from list.fromfile($self, f, n, /) --
Read n objects from the file object f and append them to the end of the array.extend($self, bb, /) --
Append items to the end of the array.__deepcopy__($self, unused, /) --
Return a copy of the array.count($self, v, /) --
Return number of occurrences of v in the array.__copy__($self, /) --
Return a copy of the array.byteswap($self, /) --
Byteswap all items of the array.
If the items in the array are not 1, 2, 4, or 8 bytes in size, RuntimeError is raised.buffer_info($self, /) --
Return a tuple (address, length) giving the current memory address and the length in items of the buffer used to hold array's contents.
The length should be multiplied by the itemsize attribute to calculate the buffer length in bytes.append($self, v, /) --
Append new value v to the end of the array.array(typecode [, initializer]) -> array
Return a new array whose items are restricted by typecode, and initialized from the optional initializer value, which must be a list, string or iterable over elements of the appropriate type.
Arrays represent basic values and behave very much like lists, except the type of objects stored in them is constrained. The type is specified at object creation time by using a type code, which is a single character. The following type codes are defined:
Type code C Type Minimum size in bytes 'b' signed integer 1 'B' unsigned integer 1 'u' Unicode character 2 (see note) 'h' signed integer 2 'H' unsigned integer 2 'i' signed integer 2 'I' unsigned integer 2 'l' signed integer 4 'L' unsigned integer 4 'q' signed integer 8 (see note) 'Q' unsigned integer 8 (see note) 'f' floating point 4 'd' floating point 8
NOTE: The 'u' typecode corresponds to Python's unicode character. On narrow builds this is 2-bytes on wide builds this is 4-bytes.
NOTE: The 'q' and 'Q' type codes are only available if the platform C compiler used to build Python supports 'long long', or, on Windows, '__int64'.
Methods:
append() -- append a new item to the end of the array buffer_info() -- return information giving the current memory info byteswap() -- byteswap all the items of the array count() -- return number of occurrences of an object extend() -- extend array by appending multiple elements from an iterable fromfile() -- read items from a file object fromlist() -- append items from the list frombytes() -- append items from the string index() -- return index of first occurrence of an object insert() -- insert a new item into the array at a provided position pop() -- remove and return item (default last) remove() -- remove first occurrence of an object reverse() -- reverse the order of the items in the array tofile() -- write all items to a file object tolist() -- return the array converted to an ordinary list tobytes() -- return the array converted to a string
Attributes:
typecode -- the typecode character used to create the array itemsize -- the length in bytes of one array item __setstate__($self, state, /) --
Set state information for unpickling.__reduce__($self, /) --
Return state information for pickling._array_reconstructor($module, arraytype, typecode, mformat_code, items, /) --
Internal. Used for pickling support.This module defines an object type which can efficiently represent an array of basic values: characters, integers, floating point numbers. Arrays are sequence types and behave very much like lists, except that the type of objects stored in them is constrained. 6��@�?� Jp�H���@� O�К � [�Г�� d� �@� ��O�� m����� z��^`� |��n�� ���o�� 3�0��� o�@l�� $�p��� ��PN`� ���� âu�� ���^ � ��v�� ��P�`� ����� ������ ��P�� ģ�X�� ̣@�@� ֣ �� B�XcB0��qPG�v�M �@WFB�0S@� � K�� В� ��� ֢ � �� �� ������%�(pK@pB B`� 3�@�R�U� �� P� �� �O0X�� @� wGA$3a1�,ݠarray.cpython-36m-x86_64-linux-gnu.so-3.6.8-69.el8_10.alma.1.x86_64.debug�T�O�7zXZ�ִF!t/��"_�]?�E�h=��ڊ�2N��9���%Cc�xc��y8�3 \����#�L�?�˽�Bl�)�l��c�;ws���� ������y�OUԨ0�����7��}���<�02�3fa�I�F��B��U'lIa���3�����,x�ۛ0+Һ�M�01;����w��7)��w�@N���k�� W������%��F��u4q|9,��/$�<�ս�@���q��ȋ�4}����$:��n� ����w��˅Z<���p0�_�2���k\إ*4��Rع�8�'����뜢#�8��FB��F1�qYL�l'e?Q/yS���� ��&[~5��{s��3�or2���;NE�Q��ک�|r�}�rgh���^h�ڂ��3��k (��V���=��w��gA��ȕ��&��ٯ����m�+� 2q}ȱ��E�H&��9tH�5%h�)�K����q��4|a��W��W��u�:�ۺ�� Z�7��Zt���w.�����nzB���{�sK��,X��\v��[���r��e�+V��!�r� ��j�`����57�Y�P�`H�,[�����N�Ap ������d�8�o�H hs�b�����`I{;nP���#],�o�S�����5��E^=�@خ�Z��ڕ��l�C0���K7O�I�ZLjt]a�`6��:B$@V�82;��EY�{�G��y���F^}&z�@�/ ��슶���X0F���j��&®�p�E�9g{����R�l/�XRkGo�k¡;Dv�d���و���@+y��iQ��K�\�w�.2�B�xb���RE @OD�`�X��u/Ǩ2�QT��?M�4ў��<�%͈��:�]/�#��%9P;ͣNi>J�Uw�Xmѧ����}�2L��f|55 ��4A�(�FQ�����Qn�Z��mIP����b��M�Ń���C}?���P�W���_zH�0#�g�s~�h���o�P����KJ,T��1iWԀ�C���������Eф���4�o_��C�h���|�5/T��z�{�k�*����)�.�yv0�lb�e��g����>>�b����k֦)ILq��y� ���d*��ƸhMk�!�z���ܗ��[�vDl�,�g%ŝ<�%Y@����n��Ij������B�~����3�#۾X���6�T��nA`��X�I���k��QbU[(d&*� �/o������o���;Ō�:�Lz��c��V�c7F�gT��踍���t|�يj�w ���GV�>�Ĭm�9jPY3��� |���N2�#��-"ҏ�#��d�%�-�%�u�QG�].�I�6���u�)��@VVm��9<�ow�$���+9�� �7N�ރrP�7S�yi��\���~~O�,o�f�����E�, �~y�DR��V�6B��t�̷؋�̀��1$����J��b���u�w������BrA���.���٤���[}�x�����e[V]'k;��"���~���d���� �zt'�t�z<%���QD�D}cͦ��ѷ$T�fc���DUt�"�� ��&�N9�B��gb`(���Mf$�ltD,h�����BW��� ����)Ȟ�h��I��>�O�= =�F�o#��2�4 ]��]�CZc�@د!>W��#U��X�<�/΄�W~Ԛ7�_���%5J���]>*iP�3* �]�f��x}B\��g�����0�}�ߑY� �KMr�jw�e�˪b��DŽ+E¥_��ť>>4���#���E9����!�0�v���,��"�7.pߚ�t�5B�=c���Qh5�O�3�B���� Ta2�v�S�`�;����@B������+<٠��Y��T��' ,J���_R�9��Ot2����(2��D҉���g�YZ.shstrtab.note.gnu.build-id.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.sec.text.fini.rodata.eh_frame_hdr.eh_frame.note.gnu.property.init_array.fini_array.data.rel.ro.dynamic.got.data.bss.gnu.build.attributes.gnu_debuglink.gnu_debugdata88$���o``4(��H 0��:8���o�E���o��PT000^B`&`&�h�,�,c--pn�1�1`w�5�5�j}РР ���� �دد��ȳȳt�@�@� ��� ����� ����� ��P ��� ���� ���� �P! �P� P��`�`P�$ t�P���(