From f8092ee9adafaa052172712349a32bd5889b5ccb Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 22 Jun 2023 11:55:38 +0100 Subject: Improved style of n-tuple wording in docs and comments. --- tests/pagination/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/pagination/tests.py b/tests/pagination/tests.py index 1fa9ea2f02..cf7ec61d3b 100644 --- a/tests/pagination/tests.py +++ b/tests/pagination/tests.py @@ -55,7 +55,7 @@ class PaginationTests(SimpleTestCase): ten = nine + [10] eleven = ten + [11] tests = ( - # Each item is two tuples: + # Each item is 2-tuple: # First tuple is Paginator parameters - object_list, per_page, # orphans, and allow_empty_first_page. # Second tuple is resulting Paginator attributes - count, @@ -233,7 +233,7 @@ class PaginationTests(SimpleTestCase): """ ten = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] tests = ( - # Each item is three tuples: + # Each item is 3-tuple: # First tuple is Paginator parameters - object_list, per_page, # orphans, and allow_empty_first_page. # Second tuple is the start and end indexes of the first page. -- cgit v1.3