On this page
  1. array.ArrayType
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

array.ArrayType

Prev: array.array | Up: array
Rel: array.array
Ref: docs.python.org — array.ArrayType
Tags: #public #python3 #stdlib #array


Import

import array
from array import ArrayType

Signature & Overview

array.ArrayType(...)

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.

Methods & Attributes

Usage

import array

assert array.ArrayType is array.array

Gotchas

REPL Inspect

from array import ArrayType
help(ArrayType)

Linked from

Related notes