From: Giampaolo Rodola' Date: Fri, 26 Apr 2013 13:23:43 +0000 (+0200) Subject: ftplib: update connect() docstring by mentioning 'timeout' argument X-Git-Tag: v3.4.0a1~845 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11a9bd62b1ef8956f590782be8b28a0a78c65a51;p=python ftplib: update connect() docstring by mentioning 'timeout' argument --- diff --git a/Lib/ftplib.py b/Lib/ftplib.py index c5554f8f69..fcd4b148c3 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. '''