8000 [3.12] ftplib docs: `timeout` doesn't have to be a whole number (GH-1… · python/cpython@644aeb5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 644aeb5

Browse files
[3.12] ftplib docs: timeout doesn't have to be a whole number (GH-115443) (#115445)
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 03d2c3b commit 644aeb5

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|
@@ -483,7 +483,7 @@ FTP_TLS objects
483483
:param timeout:
484484
A timeout in seconds for blocking operations like :meth:`~FTP.connect`
485485
(default: the global default timeout setting).
486-
:type timeout: int | None
486+
:type timeout: float | None
487487

488488
:param source_address:
489489
|param_doc_source_address|

0 commit comments

Comments
 (0)
0