FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix: Fix return value of `create_forum_topic` shortcut by Poolitzer · Pull Request #3381 · python-telegram-bot/python-telegram-bot · GitHub

Fix: Fix return value of create_forum_topic shortcut - #3381

Merged
Bibo-Joshi merged 2 commits into
masterfrom
fix_return_value
Nov 23, 2022
Merged

Fix: Fix return value of create_forum_topic shortcut#3381
Bibo-Joshi merged 2 commits into
masterfrom
fix_return_value

Conversation

Copy link
Copy Markdown
Member

Quick fix, just surprised mypy didn't catch it

lemontree210 changed the title Fix: Fix return value of create_forum_topic shortcut Fix: Fix return value of create_forum_topic shortcut Nov 22, 2022

Copy link
Copy Markdown
Member

Just in case: I could also have added the following bit to docstring, but I see that it wasn't done anywhere in shortcut methods for respective methods in Bot.

Raises: 
    :class:`telegram.error.TelegramError`

Copy link
Copy Markdown
Member

@lemontree210 not needed since it's there in the original

harshil21 added the ⚙️ type-hinting affected functionality: type-hinting label Nov 22, 2022
harshil21 added this to the v20.0a6 milestone Nov 22, 2022
Bibo-Joshi merged commit 8c03f0e into master Nov 23, 2022
Bibo-Joshi deleted the fix_return_value branch November 23, 2022 12:21
Poolitzer mentioned this pull request Nov 25, 2022
github-actions Bot locked and limited conversation to collaborators Nov 30, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ type-hinting affected functionality: type-hinting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL