GitBook: [master] 351 pages modified

This commit is contained in:
Daniel Spindelbauer
2018-08-15 09:24:00 +00:00
committed by gitbook-bot
parent c953c89248
commit a572e69d02
177 changed files with 275 additions and 275 deletions

View File

@@ -0,0 +1,20 @@
# 5.3.5 array
See [Python array](https://docs.python.org/3/library/array.html) for more information.
Supported format codes: `b, B, h, H, i, I, l, L, q, Q, f, d` \(the latter 2 depending on the floating-point support\).
## Classes
### class array.array\(typecode\[, iterable\]\)
Create array with elements of given type. Initial contents of the array are given by an iterable. If it is not provided, an empty array is created.
### array.append\(val\)
Append new element to the end of array, growing it.
### array.extend\(iterable\)
Append new elements as contained in an iterable to the end of array, growing it.