From edbca87d36282077802dff8b4d9a218b442b4a45 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 8 Jan 2018 08:31:20 +0100 Subject: [PATCH] Update docs --- compiler/api/compiler.py | 2 +- docs/source/errors/UnknownError.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: