From c62a1c54871de449c561db3d6030fd1b99cfa12d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 2 Apr 2020 06:37:22 +1100 Subject: [PATCH] docs: Fix simple typo, substiture -> substitute There is a small typo in paginate/__init__.py. Should read `substitute` rather than `substiture`. --- paginate/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paginate/__init__.py b/paginate/__init__.py index fb91d29..7b9d9a1 100644 --- a/paginate/__init__.py +++ b/paginate/__init__.py @@ -772,7 +772,7 @@ def link_map( def _range(self, link_map, radius): """ - Return range of linked pages to substiture placeholder in pattern + Return range of linked pages to substitute placeholder in pattern """ leftmost_page = max(self.first_page, (self.page - radius))