summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-05-19 15:44:31 (GMT)
committerGitHub <noreply@github.com>2022-05-19 15:44:31 (GMT)
commitebf3f12c389c6d9cedf54c5daac065de3ef53256 (patch)
treeb8479dc6349c6a7e0d3773f212b8f00529063253 /Doc/library/socket.rst
parentfb566cacb3019bce3ce27158e4edcf3501086775 (diff)
downloadcpython-ebf3f12c389c6d9cedf54c5daac065de3ef53256.zip
cpython-ebf3f12c389c6d9cedf54c5daac065de3ef53256.tar.gz
cpython-ebf3f12c389c6d9cedf54c5daac065de3ef53256.tar.bz2
gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) (GH-92969)
(cherry picked from commit 639b62c9c479e38a6f91a80b261097574a1e7ac7) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/library/socket.rst')
-rwxr-xr-xDoc/library/socket.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 7ce8e5b..4af78e4 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