diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py index f5f45ae4..5607ce5a 100644 --- a/compiler/api/compiler.py +++ b/compiler/api/compiler.py @@ -274,7 +274,7 @@ def start(): else: 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": docstring_args += "\n\n Raises:\n :obj:`pyrogram.Error`"