summaryrefslogtreecommitdiff
path: root/django/db/models/sql/where.py
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2018-08-01 12:55:53 -0400
committerTim Graham <timograham@gmail.com>2018-08-01 16:09:22 -0400
commit97e637a87fb45c4de970cca6cb783d93473c9d15 (patch)
treef2bc4b9a102aa1277005ee469b6f7e390c925c8d /django/db/models/sql/where.py
parent4263cd0e095c55a1011e5bf0746d651126a8da5f (diff)
Fixed typos in comments and docs.
Diffstat (limited to 'django/db/models/sql/where.py')
-rw-r--r--django/db/models/sql/where.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py
index d913abab2e..879de0474a 100644
--- a/django/db/models/sql/where.py
+++ b/django/db/models/sql/where.py
@@ -142,7 +142,7 @@ class WhereNode(tree.Node):
def clone(self):
"""
Create a clone of the tree. Must only be called on root nodes (nodes
- with empty subtree_parents). Childs must be either (Contraint, lookup,
+ with empty subtree_parents). Childs must be either (Constraint, lookup,
value) tuples, or objects supporting .clone().
"""
clone = self.__class__._new_instance(