mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2026-06-19 07:35:19 +00:00
Fixing failing sphinx builds (#5124)
This commit is contained in:
@@ -101,7 +101,7 @@ def autodoc_process_docstring(
|
||||
"""
|
||||
|
||||
# 1) Insert the Keyword Args and "Shortcuts" admonitions for the Bot methods
|
||||
method_name = name.rsplit(".", maxsplit=1)
|
||||
method_name = name.rsplit(".", maxsplit=1)[0]
|
||||
if (
|
||||
name.startswith("telegram.Bot.")
|
||||
and what == "method"
|
||||
|
||||
Reference in New Issue
Block a user