summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/paginator.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/paginator.txt b/docs/ref/paginator.txt
index 545f341656..670c06e6a8 100644
--- a/docs/ref/paginator.txt
+++ b/docs/ref/paginator.txt
@@ -75,7 +75,7 @@ Methods
Returns a :class:`Page` object with the given 1-based index. Raises
:exc:`PageNotAnInteger` if the ``number`` cannot be converted to an integer
- by calling ``int()``. Raises :exc:`InvalidPage` if the given page number
+ by calling ``int()``. Raises :exc:`EmptyPage` if the given page number
doesn't exist.
.. method:: Paginator.get_elided_page_range(number, *, on_each_side=3, on_ends=2)