summaryrefslogtreecommitdiff
path: root/Lib/ftplib.py
diff options
context:
space:
mode:
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 22852bc435..bfb0b5b2d5 100644
--- a/Lib/ftplib.py
+++ b/Lib/ftplib.py
@@ -283,7 +283,7 @@ class FTP:
# The callback function is called for each line, with trailing
# CRLF stripped. This creates a new port for you.
# print_lines is the default callback
- def retrlines(self, cmd, args):
+ def retrlines(self, cmd, *args):
callback = None
if args:
callback = args[0]