summaryrefslogtreecommitdiff
path: root/django/db/models/sql/constants.py
diff options
context:
space:
mode:
authorMitar <mitar.github@tnode.com>2012-08-26 14:28:44 -0700
committerMitar <mitar.github@tnode.com>2012-08-26 14:28:44 -0700
commitb2ffa2ea90110bb8ccb67692aaad2069b0075869 (patch)
treed7ee194bb5df5ae435b20b8b27d2504f59d8727b /django/db/models/sql/constants.py
parent5a9e127efc37490b2a1caa605e987a693245b5fa (diff)
Code comment fix.
Diffstat (limited to 'django/db/models/sql/constants.py')
-rw-r--r--django/db/models/sql/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/constants.py b/django/db/models/sql/constants.py
index 612755a012..b9cf2c96fd 100644
--- a/django/db/models/sql/constants.py
+++ b/django/db/models/sql/constants.py
@@ -1,7 +1,7 @@
from collections import namedtuple
import re
-# Valid query types (a dictionary is used for speedy lookups).
+# Valid query types (a set is used for speedy lookups).
QUERY_TERMS = set([
'exact', 'iexact', 'contains', 'icontains', 'gt', 'gte', 'lt', 'lte', 'in',
'startswith', 'istartswith', 'endswith', 'iendswith', 'range', 'year',