summaryrefslogtreecommitdiffstats
path: root/Doc/library/array.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-01 11:56:49 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-01 11:56:49 (GMT)
commitf69451833191454bfef75804c2654dc37e8f3e93 (patch)
tree7e81560f5276c35f68b7b02e75feb9221a82ae5d /Doc/library/array.rst
parentf25ef50549d9f2bcb6294fe61a9902490728edcc (diff)
downloadcpython-f69451833191454bfef75804c2654dc37e8f3e93.zip
cpython-f69451833191454bfef75804c2654dc37e8f3e93.tar.gz
cpython-f69451833191454bfef75804c2654dc37e8f3e93.tar.bz2
Update docs w.r.t. PEP 3100 changes -- patch for GHOP by Dan Finnie.
Diffstat (limited to 'Doc/library/array.rst')
-rw-r--r--Doc/library/array.rst19
1 files changed, 0 insertions, 19 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst
index ec68f65..efe80b7 100644
--- a/Doc/library/array.rst
+++ b/Doc/library/array.rst
@@ -183,18 +183,6 @@ The following data items and methods are also supported:
returned.
-.. method:: array.read(f, n)
-
- .. deprecated:: 1.5.1
- Use the :meth:`fromfile` method.
-
- Read *n* items (as machine values) from the file object *f* and append them to
- the end of the array. If less than *n* items are available, :exc:`EOFError` is
- raised, but the items that were available are still inserted into the array.
- *f* must be a real built-in file object; something else with a :meth:`read`
- method won't do.
-
-
.. method:: array.remove(x)
Remove the first occurrence of *x* from the array.
@@ -229,13 +217,6 @@ The following data items and methods are also supported:
obtain a unicode string from an array of some other type.
-.. method:: array.write(f)
-
- .. deprecated:: 1.5.1
- Use the :meth:`tofile` method.
-
- Write all items (as machine values) to the file object *f*.
-
When an array object is printed or converted to a string, it is represented as
``array(typecode, initializer)``. The *initializer* is omitted if the array is
empty, otherwise it is a string if the *typecode* is ``'c'``, otherwise it is a