mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
FTP.dir(): Fix typo in docstring.
This commit is contained in:
parent
1508970a47
commit
d5f173bf1f
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ class FTP:
|
|||
The argument is a RETR or LIST command.
|
||||
The callback function (2nd argument) is called for each line,
|
||||
with trailing CRLF stripped. This creates a new port for you.
|
||||
print_lines is the default callback.'''
|
||||
print_line() is the default callback.'''
|
||||
if not callback: callback = print_line
|
||||
resp = self.sendcmd('TYPE A')
|
||||
conn = self.transfercmd(cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue