summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorSih Sîng-hông薛丞宏 <ihcaoe@gmail.com>2021-10-12 16:56:30 +0800
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-10-13 08:46:46 +0200
commit30d8932753cd0e414469f8da7ebe21e963737273 (patch)
treef0ba60b5834866f620732c1178a0b5d579465cd2 /docs/ref
parent14c8504a37afad96ab93cf82f47b13bcc4d00621 (diff)
Doc'd a precise exception type in Paginator.page() docs.
Diffstat (limited to 'docs/ref')
-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)