summaryrefslogtreecommitdiffstats
path: root/Lib/ftplib.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-07-07 13:36:59 (GMT)
committerFred Drake <fdrake@acm.org>1999-07-07 13:36:59 (GMT)
commitd5f173bf1f215ce156805545ff20e0d764162e89 (patch)
treefcd4b1360373871c75fab000317770bbfa62ffa4 /Lib/ftplib.py
parent1508970a4796e76e01f8ae0f0c1aa79caf495360 (diff)
downloadcpython-d5f173bf1f215ce156805545ff20e0d764162e89.zip
cpython-d5f173bf1f215ce156805545ff20e0d764162e89.tar.gz
cpython-d5f173bf1f215ce156805545ff20e0d764162e89.tar.bz2
FTP.dir(): Fix typo in docstring.
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r--Lib/ftplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py
index 96e83df..d2ff435 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)