From 30d8932753cd0e414469f8da7ebe21e963737273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sih=20S=C3=AEng-h=C3=B4ng=E8=96=9B=E4=B8=9E=E5=AE=8F?= Date: Tue, 12 Oct 2021 16:56:30 +0800 Subject: [PATCH] Doc'd a precise exception type in Paginator.page() docs. --- docs/ref/paginator.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)