From 18f2d44120486a02a0b19df4c334ed9305b0848e Mon Sep 17 00:00:00 2001 From: sco1 Date: Wed, 20 Mar 2019 19:26:37 -0400 Subject: Remove attribute autodoc prefix --- bot/pagination.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/pagination.py') diff --git a/bot/pagination.py b/bot/pagination.py index 89a261b5..1091878a 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -57,7 +57,7 @@ class LinePaginator(Paginator): """ Adds a line to the current page. - If the line exceeds the :attr:`max_size` then an exception is raised. + If the line exceeds the `max_size` then an exception is raised. Overrides the Paginator.add_line from inside discord.ext.commands in order to allow configuration of the maximum number of lines per page. @@ -72,7 +72,7 @@ class LinePaginator(Paginator): Raises ------ RuntimeError - The line was too big for the current :attr:`max_size`. + The line was too big for the current `max_size`. """ if len(line) > self.max_size - len(self.prefix) - 2: -- cgit v1.2.3