Skip to content

fix(client): drop hyphen in re-using docstrings across 6 files - #1945

Open
haimingZZ wants to merge 1 commit into
anthropics:mainfrom
haimingZZ:docs/fix-re-using-to-reusing
Open

haimingZZ wants to merge 1 commit into
anthropics:mainfrom
haimingZZ:docs/fix-re-using-to-reusing

Conversation

@haimingZZ

Copy link
Copy Markdown

Summary

Drop the hyphen in 12 re-using → reusing docstring mentions in the Anthropic Python SDK:

  • src/anthropic/_client.py (L471, L891) — sync + async base client
  • src/anthropic/lib/foundry.py (L223, L441) — Foundry adapter
  • src/anthropic/lib/bedrock/_client.py (L258, L436) — Bedrock adapter
  • src/anthropic/lib/bedrock/_mantle.py (L293, L486) — Bedrock mantle
  • src/anthropic/lib/google_cloud/_client.py (L376, L609) — Google Cloud adapter
  • src/anthropic/lib/vertex/_client.py (L203, L367) — Vertex adapter

The Oxford spelling (and the dominant spelling in Python ecosystem docs) treats reusing as the canonical form without a hyphen.

Why

  • Cosmetic consistency fix; no behavior change.
  • Mirrors openai/openai-python #3933 which fixed the same pattern in the OpenAI SDK.
  • 6 files / 12 insertions / 12 deletions.

Out of scope

Did not touch re-using occurrences in CHANGELOG.md (those are PR titles referencing historical merged changes; editing would alter git history references).

The hyphenated 're-using' form is one of the variants of the word 'reuse'
but the Oxford spelling (and the dominant spelling in the Python
ecosystem) treats 'reusing' as the canonical form without a hyphen.

The re-using typo appeared in 12 docstrings across 6 files (sync + async
variants for the base Anthropic client and the Bedrock, Foundry, Google
Cloud, and Vertex adapters). This aligns them with the openai/openai-python
companion PR #3933 which fixed the same pattern in that SDK.

6 files / 12 insertions / 12 deletions. No behavior change.
@haimingZZ
haimingZZ requested a review from a team as a code owner September 22, 2026 06:48

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