summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorNick Pope <nick@nickpope.me.uk>2023-06-22 11:55:38 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-06-23 09:29:35 +0200
commitf8092ee9adafaa052172712349a32bd5889b5ccb (patch)
tree29d9cf1b39c7e35a58328b1996824f01aa3fba4d /django
parent107865780aa44914e21d27fdf4ca269bc61c7f01 (diff)
Improved style of n-tuple wording in docs and comments.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/admindocs/views.py2
-rw-r--r--django/db/backends/base/schema.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admindocs/views.py b/django/contrib/admindocs/views.py
index a5e710835e..4f970e89b3 100644
--- a/django/contrib/admindocs/views.py
+++ b/django/contrib/admindocs/views.py
@@ -456,7 +456,7 @@ def extract_views_from_urlpatterns(urlpatterns, base="", namespace=None):
"""
Return a list of views from a list of urlpatterns.
- Each object in the returned list is a four-tuple:
+ Each object in the returned list is a 4-tuple:
(view_func, regex, namespace, name)
"""
views = []
diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py
index 01b56151be..2742748049 100644
--- a/django/db/backends/base/schema.py
+++ b/django/db/backends/base/schema.py
@@ -1346,7 +1346,7 @@ class BaseDatabaseSchemaEditor:
for cases when a creation type is different to an alteration type
(e.g. SERIAL in PostgreSQL, PostGIS fields).
- Return a two-tuple of: an SQL fragment of (sql, params) to insert into
+ Return a 2-tuple of: an SQL fragment of (sql, params) to insert into
an ALTER TABLE statement and a list of extra (sql, params) tuples to
run once the field is altered.
"""