summaryrefslogtreecommitdiffstats
path: root/Lib/ftplib.py
diff options
context:
space:
mode:
authorGiampaolo Rodola' <g.rodola@gmail.com>2013-04-26 13:23:43 (GMT)
committerGiampaolo Rodola' <g.rodola@gmail.com>2013-04-26 13:23:43 (GMT)
commit11a9bd62b1ef8956f590782be8b28a0a78c65a51 (patch)
tree19284b959b7facd21f55411ad6915b801e27c8f0 /Lib/ftplib.py
parent34373b22523302202345007ee685cc833a2b10e0 (diff)
downloadcpython-11a9bd62b1ef8956f590782be8b28a0a78c65a51.zip
cpython-11a9bd62b1ef8956f590782be8b28a0a78c65a51.tar.gz
cpython-11a9bd62b1ef8956f590782be8b28a0a78c65a51.tar.bz2
ftplib: update connect() docstring by mentioning 'timeout' argument
Diffstat (limited to 'Lib/ftplib.py')
-rw-r--r--Lib/ftplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py
index c5554f8..fcd4b14 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.
'''