summaryrefslogtreecommitdiff
path: root/django/utils/regex_helper.py
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:03 -0500
commit039465a6a7a18f48ea77ceadb6949990c0ec92e1 (patch)
treecba4538131d680c040535e9ffe3af7c1db034655 /django/utils/regex_helper.py
parentdccf41cff0f46a94aa1d853d1bad9052079bb454 (diff)
Fixed typos in code comments.
Diffstat (limited to 'django/utils/regex_helper.py')
-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