From 11a9bd62b1ef8956f590782be8b28a0a78c65a51 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola' Date: Fri, 26 Apr 2013 15:23:43 +0200 Subject: [PATCH] ftplib: update connect() docstring by mentioning 'timeout' argument --- Lib/ftplib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/ftplib.py b/Lib/ftplib.py index c5554f8f69d..fcd4b148c32 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -134,6 +134,7 @@ class FTP: '''Connect to host. Arguments are: - host: hostname to connect to (string, default previous host) - port: port to connect to (integer, default previous port) + - timeout: the timeout to set against the ftp socket(s) - source_address: a 2-tuple (host, port) for the socket to bind to as its source address before connecting. '''