]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92417: `socket` docs: remove references to Python <3.3 (GH-92544) (GH-92968)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 19 May 2022 15:42:07 +0000 (08:42 -0700)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 15:42:07 +0000 (17:42 +0200)
(cherry picked from commit 639b62c9c479e38a6f91a80b261097574a1e7ac7)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/library/socket.rst

index ee1aee5278b3be39e952e797ead70fb606cd2a67..c27f408890ac3293d64b4853be302d192cb03ace 100755 (executable)
@@ -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