Skip to content

Commit 80842d7

Browse files
Fix grammar: "allows to" → "allows using/blocking" in docs
"Allows to <verb>" 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 <noreply@anthropic.com>
1 parent f3a381e commit 80842d7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/asyncio-sync.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Barrier
361361

362362
A barrier object. Not thread-safe.
363363

364-
A barrier is a simple synchronization primitive that allows to block until
364+
A barrier is a simple synchronization primitive that allows blocking until
365365
*parties* number of tasks are waiting on it.
366366
Tasks can wait on the :meth:`~Barrier.wait` method and would be blocked until
367367
the specified number of tasks end up waiting on :meth:`~Barrier.wait`.

Doc/library/hmac.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
--------------
1010

1111
This module implements the HMAC algorithm as described by :rfc:`2104`.
12-
The interface allows to use any hash function with a *fixed* digest size.
12+
The interface allows using any hash function with a *fixed* digest size.
1313
In particular, extendable output functions such as SHAKE-128 or SHAKE-256
1414
cannot be used with HMAC.
1515

0 commit comments

Comments
 (0)