https://github.com/python/cpython/commit/644aeb5dbb1ceb60d5df31a3f6b08a61778baf37 commit: 644aeb5dbb1ceb60d5df31a3f6b08a61778baf37 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: AlexWaygood <[email protected]> date: 2024-02-14T10:47:59Z summary:
[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 3fd2ad8241a61e75b2cd33c697af276863efbb51) Co-authored-by: Alex Waygood <[email protected]> files: M Doc/library/ftplib.rst diff --git a/Doc/library/ftplib.rst b/Doc/library/ftplib.rst index 2f98a272c297ae..9abf7974d1936d 100644 --- a/Doc/library/ftplib.rst +++ b/Doc/library/ftplib.rst @@ -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| @@ -483,7 +483,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| _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
