]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
FTP.dir(): Fix typo in docstring.
authorFred Drake <fdrake@acm.org>
Wed, 7 Jul 1999 13:36:59 +0000 (13:36 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 7 Jul 1999 13:36:59 +0000 (13:36 +0000)
Lib/ftplib.py

index 96e83dfc5605b10aa5a2dad1c15e1e9b8ce91603..d2ff435700423950ea9f394940302eb9d5d98093 100644 (file)
@@ -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)