summaryrefslogtreecommitdiffstats
path: root/Doc/library/ftplib.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-10-13 20:09:14 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-10-13 20:09:14 (GMT)
commitbfdcd436f0410e2b3eb34ce4fd7411488d3f13fb (patch)
tree92e02b473c00b7dc9cbe908681723079a3466c7f /Doc/library/ftplib.rst
parent24201d497cf23d399cceadad8058261c13ae536f (diff)
downloadcpython-bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb.zip
cpython-bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb.tar.gz
cpython-bfdcd436f0410e2b3eb34ce4fd7411488d3f13fb.tar.bz2
Issue #18758: Fixed and improved cross-references.
Diffstat (limited to 'Doc/library/ftplib.rst')
-rw-r--r--Doc/library/ftplib.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst
index d9f1895..dcb2ac4 100644
--- a/Doc/library/ftplib.rst
+++ b/Doc/library/ftplib.rst
@@ -272,7 +272,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
Store a file in binary transfer mode. *cmd* should be an appropriate
``STOR`` command: ``"STOR filename"``. *file* is a :term:`file object`
- (opened in binary mode) which is read until EOF using its :meth:`read`
+ (opened in binary mode) which is read until EOF using its :meth:`~io.IOBase.read`
method in blocks of size *blocksize* to provide the data to be stored.
The *blocksize* argument defaults to 8192. *callback* is an optional single
parameter callable that is called on each block of data after it is sent.
@@ -286,7 +286,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
Store a file in ASCII transfer mode. *cmd* should be an appropriate
``STOR`` command (see :meth:`storbinary`). Lines are read until EOF from the
- :term:`file object` *file* (opened in binary mode) using its :meth:`readline`
+ :term:`file object` *file* (opened in binary mode) using its :meth:`~io.IOBase.readline`
method to provide the data to be stored. *callback* is an optional single
parameter callable that is called on each line after it is sent.