Conversation
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.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Drop the hyphen in 12
re-using→reusingdocstring mentions in the Anthropic Python SDK:src/anthropic/_client.py(L471, L891) — sync + async base clientsrc/anthropic/lib/foundry.py(L223, L441) — Foundry adaptersrc/anthropic/lib/bedrock/_client.py(L258, L436) — Bedrock adaptersrc/anthropic/lib/bedrock/_mantle.py(L293, L486) — Bedrock mantlesrc/anthropic/lib/google_cloud/_client.py(L376, L609) — Google Cloud adaptersrc/anthropic/lib/vertex/_client.py(L203, L367) — Vertex adapterThe Oxford spelling (and the dominant spelling in Python ecosystem docs) treats
reusingas the canonical form without a hyphen.Why
Out of scope
Did not touch
re-usingoccurrences inCHANGELOG.md(those are PR titles referencing historical merged changes; editing would alter git history references).