Skip to content

Fix duplicate word in show_align_message docstring - #22185

Closed
chenlichao wants to merge 1 commit into
python:masterfrom
chenlichao:fix/dup-word-test-docstring
Closed

chenlichao wants to merge 1 commit into
python:masterfrom
chenlichao:fix/dup-word-test-docstring

Conversation

@chenlichao

Copy link
Copy Markdown

Fix a duplicated word in the docstring of show_align_message in mypy/test/helpers.py: "so that the their first difference" → "so that their first difference".

(Explain how this PR changes mypy.)
Fixes a typo only — no behavior change. The docstring of show_align_message had "the their", an obvious duplication ("the" + "their" collapsing on the same word). Any future reader of the test-helper source gets the identical function; the docstring now parses correctly.

Verification:

  • git diff --check passes; the diff is one line, docs/comment-only.
  • python3 -m py_compile mypy/test/helpers.py passes.
  • Searched open PRs for overlapping fixes to this docstring — none found.

Checklist:

  • Read the Contributing Guidelines
  • No behaviour changed, so no test added — verified via py_compile and manual diff review (1 line, comment/docstring only)
  • Make sure CI passes (docs-only change)

Signed-off-by: Lichao Chen <lichao_chen@outlook.com>
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.

2 participants