mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix weird constructor names reported in compiled docs
This commit is contained in:
parent
dd6f6e1b35
commit
36b1058623
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ def get_docstring_arg_type(t: str, is_list: bool = False, is_pyrogram_type: bool
|
|||
t = (("e" if is_list else "E") + "ither " if n else "") + ", ".join(
|
||||
":obj:`{1} <pyrogram.api.types.{0}{1}>`".format(
|
||||
"pyrogram." if is_pyrogram_type else "",
|
||||
i.lstrip("pyrogram.")
|
||||
i.replace("pyrogram.", "")
|
||||
)
|
||||
for i in t
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue