From d5f173bf1f215ce156805545ff20e0d764162e89 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 7 Jul 1999 13:36:59 +0000 Subject: [PATCH] FTP.dir(): Fix typo in docstring. --- Lib/ftplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 96e83dfc56..d2ff435700 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -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) -- 2.40.0