Skip to content

AI spam#3594

Closed
TejasAmle wants to merge 1 commit into
pallets:mainfrom
TejasAmle:fix-doc-typos-exceptions-shell-completion
Closed

AI spam#3594
TejasAmle wants to merge 1 commit into
pallets:mainfrom
TejasAmle:fix-doc-typos-exceptions-shell-completion

Conversation

@TejasAmle

Copy link
Copy Markdown

What

Fix two small typos in the documentation:

  1. docs/exceptions.md line 90: remove duplicate article

    • Before: Triggering the a help page intentionally...
    • After: Triggering a help page intentionally...
  2. docs/shell-completion.md line 228: add missing closing " in the f-string code example

    • Before: `f"{item.type},{item.value}` (invalid Python — unclosed string)
    • After: `f"{item.type},{item.value}"` (matches the actual source in shell_completion.py:366)

Why

The double article "the a" is a clear grammatical error. The missing " in the f-string example makes the documented return value look like invalid Python syntax — the real implementation (shell_completion.py line 366) correctly has the closing quote.

- exceptions.md: remove duplicate article "the a" → "a" in
  "Triggering the a help page"
- shell-completion.md: add missing closing quote in f-string
  code example (`f"{item.type},{item.value}` →
  `f"{item.type},{item.value}"`)
@davidism davidism closed this Jun 14, 2026
@davidism davidism changed the title docs: fix two typos in exceptions.md and shell-completion.md AI spam Jun 14, 2026
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.

3 participants