From: Alex Waygood Date: Thu, 19 May 2022 15:25:58 +0000 (+0100) Subject: gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) X-Git-Tag: v3.12.0a1~1496 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=639b62c9c479e38a6f91a80b261097574a1e7ac7;p=thirdparty%2FPython%2Fcpython.git gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) --- diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 4c193b892bda..95cd37a415df 100755 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -233,9 +233,9 @@ resolution and/or the host configuration. For deterministic behavior use a numeric address in *host* portion. All errors raise exceptions. The normal exceptions for invalid argument types -and out-of-memory conditions can be raised; starting from Python 3.3, errors +and out-of-memory conditions can be raised. Errors related to socket or address semantics raise :exc:`OSError` or one of its -subclasses (they used to raise :exc:`socket.error`). +subclasses. Non-blocking mode is supported through :meth:`~socket.setblocking`. A generalization of this based on timeouts is supported through