Skip to content

Commit c274fe7

Browse files
[3.11] ftplib docs: timeout doesn't have to be a whole number (GH-115443) (#115446)
ftplib docs: `timeout` doesn't have to be a whole number (GH-115443) (cherry picked from commit 3fd2ad8) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 7f88cb1 commit c274fe7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/ftplib.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ FTP objects
104104
:param timeout:
105105
A timeout in seconds for blocking operations like :meth:`connect`
106106
(default: the global default timeout setting).
107-
:type timeout: int | None
107+
:type timeout: float | None
108108

109109
:param source_address:
110110
|param_doc_source_address|
@@ -178,7 +178,7 @@ FTP objects
178178
:param timeout:
179179
A timeout in seconds for the connection attempt
180180
(default: the global default timeout setting).
181-
:type timeout: int | None
181+
:type timeout: float | None
182182

183183
:param source_address:
184184
|param_doc_source_address|
@@ -484,7 +484,7 @@ FTP_TLS objects
484484
:param timeout:
485485
A timeout in seconds for blocking operations like :meth:`~FTP.connect`
486486
(default: the global default timeout setting).
487-
:type timeout: int | None
487+
:type timeout: float | None
488488

489489
:param source_address:
490490
|param_doc_source_address|

0 commit comments

Comments
 (0)