Update generated code docstrings
This commit is contained in:
parent
0e78fc20e5
commit
e7b51ecec8
@ -274,7 +274,7 @@ def start():
|
|||||||
else:
|
else:
|
||||||
docstring_args = "No parameters required."
|
docstring_args = "No parameters required."
|
||||||
|
|
||||||
docstring_args = "Attributes:\n ID (:obj:`int`): ``{}``\n\n ".format(c.id) + docstring_args
|
docstring_args = "Attributes:\n ID: ``{}``\n\n ".format(c.id) + docstring_args
|
||||||
|
|
||||||
if c.section == "functions":
|
if c.section == "functions":
|
||||||
docstring_args += "\n\n Raises:\n :obj:`pyrogram.Error`"
|
docstring_args += "\n\n Raises:\n :obj:`pyrogram.Error`"
|
||||||
|
Loading…
Reference in New Issue
Block a user