Skip to content

docs: fix "to to" duplicate-word typo in _api_client docstrings#2493

Open
devteamaegis wants to merge 1 commit into
googleapis:mainfrom
devteamaegis:fix-docstring-typo
Open

docs: fix "to to" duplicate-word typo in _api_client docstrings#2493
devteamaegis wants to merge 1 commit into
googleapis:mainfrom
devteamaegis:fix-docstring-typo

Conversation

@devteamaegis
Copy link
Copy Markdown

Summary

Three identical `Args:` docstrings in `google/genai/_api_client.py` (lines 1010, 1062, 1120) contain a duplicated `to`:

```diff

  •    args: The client args to to check for SSL context.
    
  •    args: The client args to check for SSL context.
    

```

Each instance is the docstring for a nested `_maybe_set` helper inside the three `ensure*_ssl_ctx` static methods on `BaseApiClient`. The three sibling `options.async_client_args` docstrings (lines 1038, etc.) already use the correct "to check", so this PR brings the nested ones into line.

Diff is exactly 3 lines, docstring-only — no runtime behaviour changes.

Novelty check

`gh search prs --repo googleapis/python-genai "to to check"` returned no matches. No open PR touches these lines.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 21, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Venkaiahbabuneelam Venkaiahbabuneelam self-assigned this May 22, 2026
@Venkaiahbabuneelam Venkaiahbabuneelam added the size:S Code changes < 10 lines label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S Code changes < 10 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants