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 @@ -166,9 +166,9 @@ High-level interface
166166
167167 The second argument, if present, specifies the file location to copy to (if
168168 absent, the location will be a tempfile with a generated name). The third
169- argument, if present, is a hook function that will be called once on
169+ argument, if present, is a callable that will be called once on
170170 establishment of the network connection and once after each block read
171- thereafter. The hook will be passed three arguments; a count of blocks
171+ thereafter. The callable will be passed three arguments; a count of blocks
172172 transferred so far, a block size in bytes, and the total size of the file. The
173173 third argument may be ``-1 `` on older FTP servers which do not return a file
174174 size in response to a retrieval request.
You can’t perform that action at this time.
0 commit comments