Skip to content

docs/fix: remove duplicated words in docs and source comment - #1625

Merged
hynek merged 2 commits into
python-attrs:mainfrom
haimingZZ:fix-typos-duplicate-words
Oct 1, 2026
Merged

hynek merged 2 commits into
python-attrs:mainfrom
haimingZZ:fix-typos-duplicate-words

Conversation

@haimingZZ

Copy link
Copy Markdown
Contributor

Summary

Fix two minor word-repetition typos in the project:

  • docs/api.rst:105 - drop duplicated from in the exception namespace sentence: "it doesn't matter from from which namespace they've been raised".
  • src/attr/_make.py:2652 - drop duplicated picked in the alias auto-generation comment: "if the user picked picked the old one".

Why

The attrs CONTRIBUTING guide explicitly encourages drive-by typo and grammar fixes:

No contribution is too small! Please submit as many fixes for typos and grammar bloopers as you can! They're your license to delete the checklist!

These changes are isolated to a doc paragraph and one inline comment, so they don't alter any runtime behavior and don't require new tests or coverage work.

Diff

 docs/api.rst      | 2 +-
 src/attr/_make.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

haimingZZ and others added 2 commits September 21, 2026 12:10
- docs/api.rst: drop duplicated 'from' in exception namespace sentence
- src/attr/_make.py: drop duplicated 'picked' in alias auto-generation comment

The attrs CONTRIBUTING guide encourages submitting typos and grammar
fixes, so these minor word-repetition fixes are welcome. They are
isolated to comments and prose, so no tests or behavior changes are
required.
@hynek
hynek enabled auto-merge October 1, 2026 12:43
@hynek
hynek added this pull request to the merge queue Oct 1, 2026
Merged via the queue into python-attrs:main with commit a602f78 Oct 1, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants