diff options
author | 2019-03-20 19:26:37 -0400 | |
---|---|---|
committer | 2019-03-20 19:26:37 -0400 | |
commit | 18f2d44120486a02a0b19df4c334ed9305b0848e (patch) | |
tree | 64e56ae1d0c6d26eece620f1fea04bc7a2f1f75b /bot/pagination.py | |
parent | Merge remote-tracking branch 'origin/flake8-docstring' into flake8-docstring (diff) |
Remove attribute autodoc prefix
Diffstat (limited to 'bot/pagination.py')
-rw-r--r-- | bot/pagination.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |