Skip to content

Fix typos in docstrings and comments - #5336

Closed
MsfPablo wants to merge 13 commits into
python-telegram-bot:doc-fixesfrom
MsfPablo:fix/docstring-typos
Closed

MsfPablo wants to merge 13 commits into
python-telegram-bot:doc-fixesfrom
MsfPablo:fix/docstring-typos

Conversation

@MsfPablo

Copy link
Copy Markdown

Seven typo fixes in documentation strings and one code comment. All are in prose written by this project (not verbatim Bot API text), and none touch identifiers or behavior:

  • _suggestedpost.py: "Desribes the price" -> "Describes"
  • _messageorigin.py: module docstring "Telegram MessageOigin" -> "MessageOrigin"
  • _poll.py: "Backward compatiblity" -> "compatibility"
  • error.py: comment "Diableing D102" -> "Disabling D102"
  • constants.py: "created wtih" -> "with"; "Stars to be transfered" (x2) and "gift transfered" -> "transferred"

harshil21 and others added 13 commits July 30, 2026 14:08
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-bot#5317)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…#5324)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Harshil <37377066+harshil21@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@harshil21
harshil21 changed the base branch from master to doc-fixes September 1, 2026 12:27
@harshil21

Copy link
Copy Markdown
Member

Cherry-picked into doc-fixes. Thanks.

@harshil21 harshil21 closed this Sep 1, 2026
@harshil21 harshil21 mentioned this pull request Sep 1, 2026
2 tasks
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants