[Python-checkins] cpython: ftplib: update connect() docstring by mentioning 'timeout' argument
giampaolo.rodola
python-checkins at python.org
Fri Apr 26 15:24:54 CEST 2013
http://hg.python.org/cpython/rev/8f7bdfe81b76
changeset: 83522:8f7bdfe81b76
parent: 83518:de35eae9048a
user: Giampaolo Rodola' <g.rodola at gmail.com>
date: Fri Apr 26 15:23:43 2013 +0200
summary:
ftplib: update connect() docstring by mentioning 'timeout' argument
files:
Lib/ftplib.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Lib/ftplib.py b/Lib/ftplib.py
--- a/Lib/ftplib.py
+++ b/Lib/ftplib.py
@@ -134,6 +134,7 @@
'''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.
'''
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list