summaryrefslogtreecommitdiff
path: root/docs/library/array.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/array.rst')
-rw-r--r--docs/library/array.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/library/array.rst b/docs/library/array.rst
index f417a7046..957260c2c 100644
--- a/docs/library/array.rst
+++ b/docs/library/array.rst
@@ -19,6 +19,10 @@ Classes
array are given by *iterable*. If it is not provided, an empty
array is created.
+ In addition to the methods below, array objects also implement the buffer
+ protocol. This means the contents of the entire array can be accessed as raw
+ bytes via a `memoryview` or other interfaces which use this protocol.
+
.. method:: append(val)
Append new element *val* to the end of array, growing it.