diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2012-07-03 10:29:10 +0300 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2012-07-03 10:31:06 +0300 |
| commit | ab7f0710584a3cbb3737e9a7fd8e3fd21765e594 (patch) | |
| tree | 90693eb0e042722cbc2b66e045b668f2f707d3bb /django/db/models/sql/where.py | |
| parent | 925a6936b94c74b2e67d90da1fcf2e19efc335cf (diff) | |
Fixed comment wording in sql/where.py
Thanks to Simon Charette for noticing this.
Diffstat (limited to 'django/db/models/sql/where.py')
| -rw-r--r-- | django/db/models/sql/where.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py index 827046553d..2602c3066c 100644 --- a/django/db/models/sql/where.py +++ b/django/db/models/sql/where.py @@ -136,9 +136,9 @@ class WhereNode(tree.Node): sql_string = conn.join(result) if sql_string: if self.negated: - # Note that some backends (Oracle at least) need the - # parentheses even around single experssion in the - # negated case. + # Some backends (Oracle at least) need parentheses + # around the inner SQL in the negated case, even if the + # inner SQL contains just a single expression. sql_string = 'NOT (%s)' % sql_string elif len(result) > 1: sql_string = '(%s)' % sql_string |
