diff --git a/compiler/api/compiler.py b/compiler/api/compiler.py index 7cce2752..7e8851ac 100644 --- a/compiler/api/compiler.py +++ b/compiler/api/compiler.py @@ -277,7 +277,7 @@ def start(): references = get_references(".".join(filter(None, [c.namespace, c.name]))) if references: - docstring_args += "\n\n See Also:\n This type is returned by " + references + "." + docstring_args += "\n\n See Also:\n This type can be returned by " + references + "." if c.has_flags: write_flags = [] diff --git a/docs/source/errors/UnknownError.rst b/docs/source/errors/UnknownError.rst index 18b4a4e8..030f3e02 100644 --- a/docs/source/errors/UnknownError.rst +++ b/docs/source/errors/UnknownError.rst @@ -3,6 +3,6 @@ Unknown Error .. module:: pyrogram.api.errors.UnknownError -.. autoclass:: pyrogram.api.errors.error.UnknownError +.. autoexception:: pyrogram.api.errors.error.UnknownError :members: :show-inheritance: