summaryrefslogtreecommitdiff
path: root/django/utils
diff options
context:
space:
mode:
authorAdam Taylor <ataylor32@gmail.com>2015-01-20 07:54:12 -0700
committerTim Graham <timograham@gmail.com>2015-01-20 12:18:29 -0500
commit45aaced91e4789c3a08b17f0908010923361dbec (patch)
treef15fcd7d2a029c173f402083b51d7419b0031008 /django/utils
parent90d9bf5ba46f806e7d4a7d19023f8d19028c4a27 (diff)
[1.8.x] Fixed typos in code comments.
Backport of 039465a6a7a18f48ea77ceadb6949990c0ec92e1 from master
Diffstat (limited to 'django/utils')
-rw-r--r--django/utils/regex_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/regex_helper.py b/django/utils/regex_helper.py
index a43234ad05..53736dffa7 100644
--- a/django/utils/regex_helper.py
+++ b/django/utils/regex_helper.py
@@ -165,7 +165,7 @@ def normalize(pattern):
else:
result.append(Group((("%%(%s)s" % param), None)))
elif ch in "*?+{":
- # Quanitifers affect the previous item in the result list.
+ # Quantifiers affect the previous item in the result list.
count, ch = get_quantifier(ch, pattern_iter)
if ch:
# We had to look ahead, but it wasn't need to compute the