File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1339,9 +1339,9 @@ some point in the future.
1339
1339
1340
1340
The second argument, if present, specifies the file location to copy to (if
1341
1341
absent, the location will be a tempfile with a generated name). The third
1342
- argument, if present, is a hook function that will be called once on
1342
+ argument, if present, is a callable that will be called once on
1343
1343
establishment of the network connection and once after each block read
1344
- thereafter. The hook will be passed three arguments; a count of blocks
1344
+ thereafter. The callable will be passed three arguments; a count of blocks
1345
1345
transferred so far, a block size in bytes, and the total size of the file. The
1346
1346
third argument may be ``-1 `` on older FTP servers which do not return a file
1347
1347
size in response to a retrieval request.
You can’t perform that action at this time.
0 commit comments