Skip to content

Commit

Permalink
docs: Fix simple typo, substiture -> substitute
Browse files Browse the repository at this point in the history
There is a small typo in paginate/__init__.py.

Should read `substitute` rather than `substiture`.
  • Loading branch information
timgates42 committed Apr 1, 2020
1 parent 07e6f62 commit c62a1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paginate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c62a1c5

Please sign in to comment.