diff --git a/README.md b/README.md index 5267761..91436d5 100644 --- a/README.md +++ b/README.md @@ -1983,8 +1983,9 @@ Array ```python from array import array - = array('', ) # Array from coll. of numbers. + = array('', ) # Array from collection of numbers. = array('', ) # Array from bytes object. + = array('', ) # Treats array as a sequence of numbers. = bytes() # Or: .tobytes() ``` diff --git a/index.html b/index.html index 7e5d926..496a19c 100644 --- a/index.html +++ b/index.html @@ -1758,8 +1758,9 @@ db = connector.connect(host=<str>, user=<str>, password=<str>,

#Array

List that can only hold numbers of a predefined type. Available types and their sizes in bytes are listed above.

from array import array
-<array> = array('<typecode>', <collection>)    # Array from coll. of numbers.
+<array> = array('<typecode>', <collection>)    # Array from collection of numbers.
 <array> = array('<typecode>', <bytes>)         # Array from bytes object.
+<array> = array('<typecode>', <array>)         # Treats array as a sequence of numbers.
 <bytes> = bytes(<array>)                       # Or: <array>.tobytes()