]> granicus.if.org Git - python/commitdiff
ftplib: update connect() docstring by mentioning 'timeout' argument
authorGiampaolo Rodola' <g.rodola@gmail.com>
Fri, 26 Apr 2013 13:23:43 +0000 (15:23 +0200)
committerGiampaolo Rodola' <g.rodola@gmail.com>
Fri, 26 Apr 2013 13:23:43 +0000 (15:23 +0200)
Lib/ftplib.py

index c5554f8f69d0de4d2975675210da8afec463d690..fcd4b148c32b39166fab493fa48054fbf8331397 100644 (file)
@@ -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.
         '''