Skip to content

Fix 'a optimizer' grammar in configure_optimizers docstring example - #22040

Open
aarushkandukoori wants to merge 1 commit into
Lightning-AI:masterfrom
aarushkandukoori:aarush/fix-a-optimizer-typo
Open

aarushkandukoori wants to merge 1 commit into
Lightning-AI:masterfrom
aarushkandukoori:aarush/fix-a-optimizer-typo

Conversation

@aarushkandukoori

Copy link
Copy Markdown

What

Changed 'a optimizer' to 'an optimizer' in a comment in the configure_optimizers example in LightningModule.

Why

A small, objectively-verifiable improvement (typo) found during a
daily open-source maintenance pass (2026-10-21).

How verified

Grepped src and docs for 'a'/'an' article mistakes. This was the only hit. git diff shows a 1-line change in a comment, with no code affected.

Use 'an' before 'optimizer' in the lr_scheduler interval comment.

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