Fixing failing sphinx builds (#5124)

This commit is contained in:
Poolitzer
2026-02-10 23:27:15 +01:00
committed by GitHub
parent 8844fb3b2f
commit 2e7ec1d8db
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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"