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 7927abb commit 388e256Copy full SHA for 388e256
Doc/library/ftplib.rst
@@ -235,7 +235,7 @@ followed by ``lines`` for the text version or ``binary`` for the binary version.
235
236
Retrieve a file in binary transfer mode. *cmd* should be an appropriate
237
``RETR`` command: ``'RETR filename'``. The *callback* function is called for
238
- 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
239
block. The optional *blocksize* argument specifies the maximum chunk size to
240
read on the low-level socket object created to do the actual transfer (which
241
will also be the largest size of the data blocks passed to *callback*). A
0 commit comments