From 4a9b7ad7da155fcaebc915a83acf4758e0ebedbb Mon Sep 17 00:00:00 2001 From: joegeisbauer Date: Sat, 27 May 2023 12:24:44 -0500 Subject: [PATCH 1/3] docs: Fixed typo in socket.getblocking() docs - Change so that docs properly equate this with socket.gettimeout() != 0. --- Doc/library/socket.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 13a82cf82d5908..11468266f61069 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -1526,7 +1526,7 @@ to sockets. Return ``True`` if socket is in blocking mode, ``False`` if in non-blocking. - This is equivalent to checking ``socket.gettimeout() == 0``. + This is equivalent to checking ``socket.gettimeout() != 0``. .. versionadded:: 3.7 From 7ecd0cc2a72e954efdb4fdf8265459cd30eafa51 Mon Sep 17 00:00:00 2001 From: joegeisbauer Date: Sat, 27 May 2023 12:49:15 -0500 Subject: [PATCH 2/3] docs: Added Misc/NEWS.d for updated documentation. WIP: temp commit --- .../2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst diff --git a/Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst b/Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst new file mode 100644 index 00000000000000..4aef0d140115df --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst @@ -0,0 +1,3 @@ +Fix a typo in the documentation that describes the relationship between +``socket.getblocking`` and ``socket.gettimeout``, which should be +equivalence to ``socket.gettimeout() != 0.0.`` From ea618b02375ba6e6b75fcf2a393c860b540d910c Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 4 Jun 2023 16:46:34 +0100 Subject: [PATCH 3/3] Delete unnecessary NEWS entry --- .../2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst diff --git a/Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst b/Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst deleted file mode 100644 index 4aef0d140115df..00000000000000 --- a/Misc/NEWS.d/next/Documentation/2023-05-27-12-48-50.gh-issue-104882.dpAqXV.rst +++ /dev/null @@ -1,3 +0,0 @@ -Fix a typo in the documentation that describes the relationship between -``socket.getblocking`` and ``socket.gettimeout``, which should be -equivalence to ``socket.gettimeout() != 0.0.``