summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorClifford Gama <cliffygamy@gmail.com>2026-01-19 15:39:25 +0200
committerGitHub <noreply@github.com>2026-01-19 08:39:25 -0500
commit25416413470d8e6630528626ee8b033d2d77ff46 (patch)
tree69331b93412e68d0c0c63df30541ff349053d34f /docs/ref/models
parent899eee3883bfdfeb4ea3ac7f6b3b4588b728e6dc (diff)
Fixed unbalanced parentheses in docs.
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/instances.txt2
-rw-r--r--docs/ref/models/lookups.txt2
-rw-r--r--docs/ref/models/querysets.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 323de16b1f..716cb48b4c 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -814,7 +814,7 @@ The ``__hash__()`` method is based on the instance's primary key value. It
is effectively ``hash(obj.pk)``. If the instance doesn't have a primary key
value then a ``TypeError`` will be raised (otherwise the ``__hash__()``
method would return different values before and after the instance is
-saved, but changing the :meth:`~object.__hash__` value of an instance is
+saved), but changing the :meth:`~object.__hash__` value of an instance is
forbidden in Python.
``get_absolute_url()``
diff --git a/docs/ref/models/lookups.txt b/docs/ref/models/lookups.txt
index d2d91deb4e..b8e0ff7c96 100644
--- a/docs/ref/models/lookups.txt
+++ b/docs/ref/models/lookups.txt
@@ -26,7 +26,7 @@ all Django builtin lookups are derived:
A lookup expression consists of three parts:
-* Fields part (e.g.
+* Fields part, e.g.
``Book.objects.filter(author__best_friends__first_name...``);
* Transforms part (may be omitted) (e.g. ``__lower__first3chars__reversed``);
* A lookup (e.g. ``__icontains``) that, if omitted, defaults to ``__exact``.
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
index 1c92ea552b..2fbcd4b942 100644
--- a/docs/ref/models/querysets.txt
+++ b/docs/ref/models/querysets.txt
@@ -1990,7 +1990,7 @@ them:
.. code-block:: pycon
>>> Person.objects.select_related("hometown").select_for_update().exclude(hometown=None)
- <QuerySet [<Person: ...)>, ...]>
+ <QuerySet [<Person: ...>, ...]>
The ``postgresql``, ``oracle``, and ``mysql`` database backends support
``select_for_update()``. However, MariaDB only supports the ``nowait``