Skip to content

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

Open
haimingZZ wants to merge 1 commit into
python-attrs:mainfrom
haimingZZ:fix-typos-duplicate-words
Open

haimingZZ wants to merge 1 commit into
python-attrs:mainfrom
haimingZZ:fix-typos-duplicate-words

Conversation

@haimingZZ

Copy link
Copy Markdown

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(-)

- 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.

This branch has not been deployed

No deployments
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.

1 participant