Module Expr Str ImportFrom alias alias alias alias Import alias TryExcept body Import alias Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list handlers ExceptHandler type NameLoad body TryExcept body ImportFrom alias FunctionDef arguments args NameParam defaults body Return Num decorator_list handlers ExceptHandler type NameLoad body Import alias Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list Assign NameStore Str ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Str Str Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIs NameLoad NameLoad NameLoad body Raise Call NameLoad Str If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore BinOpMult AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If CompareNotEq BinOpMod NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot CompareEq AttributeLoad NameLoad attr Str body Raise Call NameLoad Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpFloorDiv Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Slice decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr Str body Raise Call NameLoad Str Return Call AttributeLoad Str attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareNotIn AttributeLoad NameLoad attr ListLoad Num Num Num Num body Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore Call NameLoad Num Call NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Slice NameLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return TupleLoad Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Return BinOpMod Str AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr orelse Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return CompareEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return CompareNotEq Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return CompareLt Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return CompareLt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return CompareGt Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return CompareGt Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return CompareLtE Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return CompareLtE Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return CompareGtE Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr orelse Return CompareGtE Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore TupleLoad AttributeLoad NameLoad attr NameLoad orelse Assign NameStore TupleLoad AttributeLoad NameLoad attr Return TupleLoad Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd Call NameLoad NameLoad NameLoad UnaryOpNot CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore Num orelse If CompareGt NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign SubscriptStore NameLoad Slice NameLoad BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Slice BinOpAdd NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore NameLoad If UnaryOpNot CompareLtELt Num NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpFloorDiv Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Return Call NameLoad AttributeLoad NameLoad attr BinOpAdd Call NameLoad AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr BinOpMult Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index NameLoad Return Call NameLoad AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Assign NameStore Num If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assert CompareLtE NameLoad NameLoad Return Call NameLoad AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr orelse If CompareLt NameLoad Num body AugAssignAdd NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If UnaryOpNot CompareLtELt Num NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Return SubscriptLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body If BoolOpOr UnaryOpNot Call NameLoad NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return If CompareLt NameLoad Num body Assign NameStore Num If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assert CompareLtE NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Call NameLoad AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call NameLoad BinOpSub BinOpAdd Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign SubscriptStore NameLoad Slice NameLoad NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return If UnaryOpNot CompareLtELt Num NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If CompareLt NameLoad Num body Assign NameStore Num If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Assert CompareLtE NameLoad NameLoad If CompareNotEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Delete SubscriptDel NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore NameLoad If UnaryOpNot CompareLtELt Num NameLoad NameLoad body Raise Call NameLoad NameLoad Assign NameStore BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice NameLoad Assign SubscriptStore NameLoad Slice NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice BinOpAdd NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If CompareEq NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMult Call NameLoad AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr While CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Yield SubscriptLoad Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Index Num AugAssignAdd NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad BinOpAdd NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice NameLoad AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list Assign NameStore NameLoad
N/A N/A 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.  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 
    'c'         character          1 
    'b'         signed integer     1 
    'B'         unsigned integer   1 
    'u'         Unicode character  2 
    'h'         signed integer     2 
    'H'         unsigned integer   2 
    'i'         signed integer     2 
    'I'         unsigned integer   2 
    'l'         signed integer     4 
    'L'         unsigned integer   4 
    'f'         floating point     4 
    'd'         floating point     8 

The constructor is:

array(typecode [, initializer]) -- create a new array
 struct calcsize pack pack_into unpack_from N/A operator N/A N/A N/A _rawffi N/A _RAWARRAY N/A N/A _rawffi Array c bytebuffer N/A N/A size N/A N/A N/A N/A _RAWARRAY size autofree True N/A getbufaddress N/A N/A buf N/A N/A N/A N/A buf buffer N/A N/A N/A N/A ImportError N/A N/A N/A __pypy__ bytebuffer getbufaddress N/A N/A buf N/A N/A N/A 0 N/A N/A N/A N/A ImportError N/A N/A ctypes N/A bytebuffer N/A ctypes create_string_buffer getbufaddress N/A N/A buf N/A N/A N/A voidp N/A N/A ctypes cast N/A N/A ctypes pointer buf N/A ctypes c_void_p N/A N/A voidp value N/A N/A TYPECODES cbBuhHiIlLfd array N/A object N/A N/A 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.
    
    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 occurences 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
    fromstring() -- append items from the string
    index() -- return index of first occurence of an object
    insert() -- insert a new item into the array at a provided position
    pop() -- remove and return item (default last)
    read() -- DEPRECATED, use fromfile()
    remove() -- remove first occurence 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
    tostring() -- return the array converted to a string
    write() -- DEPRECATED, use tofile()
    
    Attributes:
    
    typecode -- the typecode character used to create the array
    itemsize -- the length in bytes of one array item
     N/A __slots__ N/A typecode itemsize _data _descriptor __weakref__ __new__ N/A N/A cls typecode initializer N/A N/A extrakwds N/A N/A self N/A N/A object __new__ cls N/A N/A N/A cls array extrakwds N/A N/A N/A TypeError array() does not take keyword arguments N/A N/A N/A N/A isinstance typecode str N/A N/A len typecode 1 N/A N/A N/A TypeError N/A array() argument 1 must be char, not %s N/A type typecode N/A N/A typecode TYPECODES N/A N/A N/A ValueError N/A bad typecode (must be one of %s) N/A N/A ,  join TYPECODES N/A N/A self _data N/A bytebuffer 0 N/A N/A self typecode typecode N/A N/A self itemsize N/A calcsize typecode N/A N/A isinstance initializer list N/A N/A N/A N/A self fromlist initializer N/A N/A N/A isinstance initializer str N/A N/A N/A N/A self fromstring initializer N/A N/A N/A N/A isinstance initializer unicode N/A N/A self typecode u N/A N/A N/A N/A self fromunicode initializer N/A N/A N/A N/A self extend initializer N/A self N/A _clear N/A N/A self N/A N/A N/A N/A self _data N/A bytebuffer 0 N/A fromfile N/A N/A self f n N/A N/A N/A Read n objects from the file object f and append them to the end of
        the array. Also called as read. N/A N/A N/A isinstance f file N/A N/A N/A TypeError arg1 must be open file N/A size N/A N/A self itemsize n N/A item N/A N/A f read size N/A N/A N/A len item size N/A N/A N/A EOFError not enough items in file N/A N/A N/A self fromstring item N/A fromlist N/A N/A self l N/A N/A N/A Append items to array from list. N/A N/A N/A isinstance l list N/A N/A N/A TypeError arg must be list N/A N/A N/A self _fromiterable l N/A fromstring N/A N/A self s N/A N/A N/A 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. N/A N/A isinstance s unicode N/A N/A s N/A str s N/A N/A N/A self _frombuffer s N/A _frombuffer N/A N/A self s N/A N/A N/A length N/A len s N/A N/A N/A length N/A self itemsize 0 N/A N/A N/A ValueError string length not a multiple of item size N/A boundary N/A len N/A self _data N/A newdata N/A bytebuffer N/A boundary length N/A N/A newdata N/A boundary N/A self _data N/A N/A newdata N/A boundary s N/A N/A self _data newdata N/A fromunicode N/A N/A self ustr N/A N/A N/A Extends this array with data from the unicode string ustr. The array
        must be a type 'u' array; otherwise a ValueError is raised. Use
        array.fromstring(ustr.encode(...)) to append Unicode data to an array of
        some other type. N/A N/A N/A N/A self typecode u N/A N/A N/A ValueError fromunicode() may only be called on type 'u' arrays N/A N/A N/A isinstance ustr unicode N/A N/A N/A TypeError fromunicode() argument should probably be a unicode string N/A N/A N/A self _frombuffer N/A buffer ustr N/A tofile N/A N/A self f N/A N/A N/A Write all items (as machine values) to the file object f.  Also
        called as write. N/A N/A N/A isinstance f file N/A N/A N/A TypeError arg must be open file N/A N/A N/A f write N/A N/A self tostring N/A tolist N/A N/A self N/A N/A N/A Convert array to an ordinary list with the same items. N/A count N/A N/A len N/A self _data N/A self itemsize N/A N/A list N/A unpack_from N/A %d%s N/A count N/A self typecode N/A self _data N/A tostring N/A N/A self N/A N/A N/A N/A N/A self _data N/A N/A __buffer__ N/A N/A self N/A N/A N/A N/A buffer N/A self _data N/A tounicode N/A N/A self N/A N/A N/A Convert the array to a unicode string. The array must be a type 'u'
        array; otherwise a ValueError is raised. Use array.tostring().decode()
        to obtain a unicode string from an array of some other type. N/A N/A N/A self typecode u N/A N/A N/A ValueError tounicode() may only be called on type 'u' arrays N/A N/A N/A join N/A N/A self tolist N/A byteswap N/A N/A self N/A N/A N/A 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. N/A N/A N/A self itemsize N/A 1 2 4 8 N/A N/A N/A RuntimeError byteswap not supported for this array N/A itemsize N/A self itemsize N/A bytes N/A self _data N/A start N/A range 0 N/A len bytes itemsize N/A N/A stop N/A start itemsize N/A N/A bytes N/A start stop N/A N/A bytes N/A start stop N/A -1 N/A buffer_info N/A N/A self N/A N/A N/A 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. On PyPy the address might be meaningless
        (returned as 0), depending on the available modules. N/A N/A N/A getbufaddress N/A self _data N/A len self N/A N/A read fromfile N/A write tofile __repr__ N/A N/A self N/A N/A N/A N/A N/A len N/A self _data 0 N/A N/A N/A array('%s') N/A self typecode N/A N/A N/A N/A self typecode c N/A N/A N/A array('%s', %s) N/A N/A self typecode N/A repr N/A N/A self tostring N/A N/A N/A N/A self typecode u N/A N/A N/A array('%s', %s) N/A N/A self typecode N/A repr N/A N/A self tounicode N/A N/A N/A array('%s', %s) N/A N/A self typecode N/A repr N/A N/A self tolist N/A __copy__ N/A N/A self N/A N/A N/A a N/A array N/A self typecode N/A N/A a _data N/A bytebuffer N/A len N/A self _data N/A N/A N/A a _data N/A N/A self _data N/A a N/A __eq__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A NotImplemented N/A N/A N/A self typecode c N/A N/A N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A N/A N/A N/A N/A self tolist N/A N/A other tolist N/A __ne__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A NotImplemented N/A N/A N/A self typecode c N/A N/A N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A N/A N/A N/A N/A self tolist N/A N/A other tolist N/A __lt__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A NotImplemented N/A N/A N/A self typecode c N/A N/A N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A N/A N/A N/A N/A self tolist N/A N/A other tolist N/A __gt__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A NotImplemented N/A N/A N/A self typecode c N/A N/A N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A N/A N/A N/A N/A self tolist N/A N/A other tolist N/A __le__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A NotImplemented N/A N/A N/A self typecode c N/A N/A N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A N/A N/A N/A N/A self tolist N/A N/A other tolist N/A __ge__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A NotImplemented N/A N/A N/A self typecode c N/A N/A N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A N/A N/A N/A N/A self tolist N/A N/A other tolist N/A __reduce__ N/A N/A self N/A N/A N/A dict N/A getattr self __dict__ None N/A data N/A N/A self tostring N/A data N/A N/A initargs N/A N/A self typecode data N/A N/A initargs N/A N/A self typecode N/A N/A N/A type self initargs dict N/A append N/A N/A self x N/A N/A N/A Append new value x to the end of the array. N/A N/A N/A self _frombuffer N/A pack N/A self typecode x N/A count N/A N/A self x N/A N/A N/A Return number of occurences of x in the array. N/A N/A N/A operator countOf self x N/A extend N/A N/A self iterable N/A N/A N/A Append items to the end of the array. N/A N/A N/A isinstance iterable array N/A N/A N/A self typecode N/A iterable typecode N/A N/A N/A TypeError can only extend with array of same kind N/A N/A N/A self _fromiterable iterable N/A index N/A N/A self x N/A N/A N/A Return index of first occurence of x in the array. N/A N/A N/A operator indexOf self x N/A insert N/A N/A self i x N/A N/A N/A Insert a new item x into the array before position i. N/A seqlength N/A len self N/A N/A i 0 N/A N/A i seqlength N/A N/A i 0 N/A N/A i 0 N/A N/A N/A i seqlength N/A N/A i seqlength N/A boundary N/A i N/A self itemsize N/A data N/A pack N/A self typecode x N/A newdata N/A bytebuffer N/A N/A len N/A self _data N/A len data N/A N/A newdata N/A boundary N/A N/A self _data N/A boundary N/A N/A newdata N/A boundary N/A boundary N/A self itemsize data N/A N/A newdata N/A N/A boundary N/A self itemsize N/A N/A self _data N/A boundary N/A N/A self _data newdata N/A pop N/A N/A self i N/A -1 N/A N/A Return the i-th element and delete it from the array. i defaults to
        -1. N/A seqlength N/A len self N/A N/A i 0 N/A N/A i seqlength N/A N/A N/A 0 i seqlength N/A N/A N/A IndexError i N/A boundary N/A i N/A self itemsize N/A result N/A N/A unpack_from N/A self typecode N/A self _data boundary N/A 0 N/A newdata N/A bytebuffer N/A N/A len N/A self _data N/A self itemsize N/A N/A newdata N/A boundary N/A N/A self _data N/A boundary N/A N/A newdata N/A boundary N/A N/A self _data N/A N/A boundary N/A self itemsize N/A N/A self _data newdata N/A result N/A remove N/A N/A self x N/A N/A N/A Remove the first occurence of x in the array. N/A N/A N/A self pop N/A N/A self index x N/A reverse N/A N/A self N/A N/A N/A Reverse the order of the items in the array. N/A lst N/A N/A self tolist N/A N/A N/A lst reverse N/A N/A N/A self _clear N/A N/A N/A self fromlist lst N/A __len__ N/A N/A self N/A N/A N/A N/A N/A len N/A self _data N/A self itemsize N/A __add__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A N/A TypeError can only append array to array N/A N/A N/A self typecode N/A other typecode N/A N/A N/A TypeError bad argument type for built-in operation N/A N/A array N/A self typecode N/A N/A buffer N/A self _data N/A buffer N/A other _data N/A __mul__ N/A N/A self repeat N/A N/A N/A N/A array N/A self typecode N/A N/A buffer N/A self _data repeat N/A N/A __rmul__ __mul__ __getitem__ N/A N/A self i N/A N/A N/A seqlength N/A len self N/A N/A isinstance i slice N/A N/A N/A start stop step N/A N/A i indices seqlength N/A N/A step 1 N/A N/A sublist N/A N/A N/A self tolist N/A i N/A N/A array N/A self typecode sublist N/A N/A start 0 N/A N/A start 0 N/A N/A stop start N/A N/A stop start N/A N/A stop seqlength N/A N/A array N/A self typecode N/A N/A self _data N/A N/A start N/A self itemsize N/A stop N/A self itemsize N/A N/A N/A i 0 N/A N/A i seqlength N/A N/A N/A self typecode c N/A N/A N/A N/A self _data N/A i N/A N/A N/A 0 i seqlength N/A N/A N/A IndexError i N/A boundary N/A i N/A self itemsize N/A N/A N/A unpack_from N/A self typecode N/A self _data boundary N/A 0 N/A __getslice__ N/A N/A self i j N/A N/A N/A N/A N/A self __getitem__ N/A slice i j N/A __setitem__ N/A N/A self i x N/A N/A N/A N/A isinstance i slice N/A N/A N/A N/A N/A isinstance x array N/A N/A self typecode N/A x typecode N/A N/A N/A TypeError can only assign array of same kind to array slice N/A seqlength N/A len self N/A N/A start stop step N/A N/A i indices seqlength N/A N/A step 1 N/A N/A sublist N/A N/A self tolist N/A N/A sublist N/A i N/A N/A x tolist N/A N/A N/A self _clear N/A N/A N/A self fromlist sublist N/A N/A N/A start 0 N/A N/A start 0 N/A N/A stop start N/A N/A stop start N/A N/A stop seqlength N/A boundary1 N/A start N/A self itemsize N/A boundary2 N/A stop N/A self itemsize N/A boundary2new N/A boundary1 N/A len N/A x _data N/A N/A boundary2 boundary2new N/A N/A N/A N/A self _data N/A boundary1 boundary2 N/A x _data N/A N/A newdata N/A bytebuffer N/A N/A N/A len N/A self _data boundary2new boundary2 N/A N/A newdata N/A boundary1 N/A N/A self _data N/A boundary1 N/A N/A newdata N/A boundary1 boundary2new N/A x _data N/A N/A newdata N/A boundary2new N/A N/A self _data N/A boundary2 N/A N/A self _data newdata N/A N/A seqlength N/A len self N/A N/A i 0 N/A N/A i seqlength N/A N/A N/A self typecode c N/A N/A N/A N/A self _data N/A i x N/A N/A N/A N/A 0 i seqlength N/A N/A N/A IndexError i N/A boundary N/A i N/A self itemsize N/A N/A pack_into N/A self typecode N/A self _data boundary x N/A __setslice__ N/A N/A self i j x N/A N/A N/A N/A N/A self __setitem__ N/A slice i j x N/A __delitem__ N/A N/A self i N/A N/A N/A N/A isinstance i slice N/A N/A seqlength N/A len self N/A N/A start stop step N/A N/A i indices seqlength N/A N/A start 0 N/A N/A start 0 N/A N/A stop start N/A N/A stop start N/A N/A stop seqlength N/A N/A step 1 N/A N/A sublist N/A N/A self tolist N/A N/A sublist N/A i N/A N/A N/A self _clear N/A N/A N/A self fromlist sublist N/A N/A dellength N/A stop start N/A boundary1 N/A start N/A self itemsize N/A boundary2 N/A stop N/A self itemsize N/A newdata N/A bytebuffer N/A N/A len N/A self _data N/A boundary2 boundary1 N/A N/A newdata N/A boundary1 N/A N/A self _data N/A boundary1 N/A N/A newdata N/A boundary1 N/A N/A self _data N/A boundary2 N/A N/A self _data newdata N/A N/A seqlength N/A len self N/A N/A i 0 N/A N/A i seqlength N/A N/A N/A 0 i seqlength N/A N/A N/A IndexError i N/A boundary N/A i N/A self itemsize N/A newdata N/A bytebuffer N/A N/A len N/A self _data N/A self itemsize N/A N/A newdata N/A boundary N/A N/A self _data N/A boundary N/A N/A newdata N/A boundary N/A N/A self _data N/A N/A boundary N/A self itemsize N/A N/A self _data newdata N/A __delslice__ N/A N/A self i j N/A N/A N/A N/A N/A self __delitem__ N/A slice i j N/A __contains__ N/A N/A self item N/A N/A N/A x self N/A N/A N/A x item N/A N/A True N/A False N/A __iadd__ N/A N/A self other N/A N/A N/A N/A N/A isinstance other array N/A N/A N/A TypeError can only extend array with array N/A N/A N/A self extend other N/A self N/A __imul__ N/A N/A self repeat N/A N/A N/A newdata N/A N/A buffer N/A self _data repeat N/A N/A self _data N/A bytebuffer N/A len newdata N/A N/A N/A self _data N/A newdata N/A self N/A __iter__ N/A N/A self N/A N/A N/A p 0 N/A typecode N/A self typecode N/A itemsize N/A self itemsize N/A N/A p N/A len N/A self _data N/A N/A N/A N/A N/A unpack_from typecode N/A self _data p N/A 0 N/A p itemsize N/A _fromiterable N/A N/A self iterable N/A N/A N/A iterable N/A tuple iterable N/A n N/A len iterable N/A boundary N/A len N/A self _data N/A newdata N/A bytebuffer N/A boundary N/A n N/A self itemsize N/A N/A newdata N/A boundary N/A self _data N/A N/A pack_into N/A %d%s N/A n N/A self typecode newdata boundary iterable N/A N/A self _data newdata N/A N/A N/A ArrayType array