Skip to content

Fix grammar: "allows to" → "allows using/blocking" in docs#145289

Open
Anandesh-Sharma wants to merge 1 commit intopython:mainfrom
Anandesh-Sharma:fix-allows-to-grammar
Open

Fix grammar: "allows to" → "allows using/blocking" in docs#145289
Anandesh-Sharma wants to merge 1 commit intopython:mainfrom
Anandesh-Sharma:fix-allows-to-grammar

Conversation

@Anandesh-Sharma
Copy link

@Anandesh-Sharma Anandesh-Sharma commented Feb 26, 2026

Summary

  • Fix "allows to " grammar in two documentation files
  • "Allows to" is grammatically incorrect; "allow" requires a gerund or object + infinitive
  • Doc/library/hmac.rst: "allows to use" → "allows using"
  • Doc/library/asyncio-sync.rst: "allows to block" → "allows blocking"

Test plan

  • Documentation builds without warnings

📚 Documentation preview 📚: https://cpython-previews--145289.org.readthedocs.build/

"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>
@python-cla-bot
Copy link

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant