[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 3fd2ad8241)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-02-14 11:48:10 +01:00 committed by GitHub
parent 7f88cb1f28
commit c274fe7534
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ FTP objects
:param timeout:
A timeout in seconds for blocking operations like :meth:`connect`
(default: the global default timeout setting).
:type timeout: int | None
:type timeout: float | None
:param source_address:
|param_doc_source_address|
@ -178,7 +178,7 @@ FTP objects
:param timeout:
A timeout in seconds for the connection attempt
(default: the global default timeout setting).
:type timeout: int | None
:type timeout: float | None
:param source_address:
|param_doc_source_address|
@ -484,7 +484,7 @@ FTP_TLS objects
:param timeout:
A timeout in seconds for blocking operations like :meth:`~FTP.connect`
(default: the global default timeout setting).
:type timeout: int | None
:type timeout: float | None
:param source_address:
|param_doc_source_address|