[Python-checkins] gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) (GH-92969)
ambv
webhook-mailer at python.org
Thu May 19 11:44:42 EDT 2022
https://github.com/python/cpython/commit/ebf3f12c389c6d9cedf54c5daac065de3ef53256
commit: ebf3f12c389c6d9cedf54c5daac065de3ef53256
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2022-05-19T17:44:31+02:00
summary:
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 at Gmail.com>
files:
M Doc/library/socket.rst
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 7ce8e5b0d8038..4af78e415f3d7 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
More information about the Python-checkins
mailing list