Update generated code docstrings

This commit is contained in:
Dan 2018-02-09 03:17:36 +01:00
parent 0e78fc20e5
commit e7b51ecec8

View File

@ -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`"