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.
13391339
13401340 The second argument, if present, specifies the file location to copy to (if
13411341 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
13431343 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
13451345 transferred so far, a block size in bytes, and the total size of the file. The
13461346 third argument may be ``-1 `` on older FTP servers which do not return a file
13471347 size in response to a retrieval request.
You can’t perform that action at this time.
0 commit comments