We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a8098f commit 59883bbCopy full SHA for 59883bb
Doc/library/ftplib.rst
@@ -228,7 +228,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
228
229
Retrieve a file in binary transfer mode. *cmd* should be an appropriate
230
``RETR`` command: ``'RETR filename'``. The *callback* function is called for
231
- each block of data received, with a single string argument giving the data
+ each block of data received, with a single bytes argument giving the data
232
block. The optional *blocksize* argument specifies the maximum chunk size to
233
read on the low-level socket object created to do the actual transfer (which
234
will also be the largest size of the data blocks passed to *callback*). A
0 commit comments