From 80842d7ef5c3794b81392c2951636e8103935e20 Mon Sep 17 00:00:00 2001 From: Anandesh Sharma Date: Fri, 27 Feb 2026 04:06:11 +0530 Subject: [PATCH] =?UTF-8?q?Fix=20grammar:=20"allows=20to"=20=E2=86=92=20"a?= =?UTF-8?q?llows=20using/blocking"=20in=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "Allows to " is grammatically incorrect in English. The verb "allow" requires either a gerund ("allows using") or an object + infinitive ("allows one to use"). Fix two instances in hmac.rst and asyncio-sync.rst. Co-Authored-By: Claude Opus 4.6 --- Doc/library/asyncio-sync.rst | 2 +- Doc/library/hmac.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/asyncio-sync.rst b/Doc/library/asyncio-sync.rst index f9e98e05cab7ac..f0689cae6b19c1 100644 --- a/Doc/library/asyncio-sync.rst +++ b/Doc/library/asyncio-sync.rst @@ -361,7 +361,7 @@ Barrier A barrier object. Not thread-safe. - A barrier is a simple synchronization primitive that allows to block until + A barrier is a simple synchronization primitive that allows blocking until *parties* number of tasks are waiting on it. Tasks can wait on the :meth:`~Barrier.wait` method and would be blocked until the specified number of tasks end up waiting on :meth:`~Barrier.wait`. diff --git a/Doc/library/hmac.rst b/Doc/library/hmac.rst index 2ee0c0bd9128b8..fb7438c8a0a3a3 100644 --- a/Doc/library/hmac.rst +++ b/Doc/library/hmac.rst @@ -9,7 +9,7 @@ -------------- This module implements the HMAC algorithm as described by :rfc:`2104`. -The interface allows to use any hash function with a *fixed* digest size. +The interface allows using any hash function with a *fixed* digest size. In particular, extendable output functions such as SHAKE-128 or SHAKE-256 cannot be used with HMAC.