summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphilip-peterson <pc.peterso@gmail.com>2012-03-05 05:54:04 -0500
committerphilip-peterson <pc.peterso@gmail.com>2012-03-05 05:54:04 -0500
commit6516a8342fac9e17740d9beae7b7402cfb0857be (patch)
tree59dff3a8ce617ebc9f0a1be160a7f7eeff80cbff
parent1fc45b385c16b39f41ce2a5d220326f87511fb37 (diff)
downloadpyramid-6516a8342fac9e17740d9beae7b7402cfb0857be.tar.gz
pyramid-6516a8342fac9e17740d9beae7b7402cfb0857be.tar.bz2
pyramid-6516a8342fac9e17740d9beae7b7402cfb0857be.zip
Fixed some spelling errors
-rw-r--r--pyramid/urldispatch.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyramid/urldispatch.py b/pyramid/urldispatch.py
index 009804280..cccff14ba 100644
--- a/pyramid/urldispatch.py
+++ b/pyramid/urldispatch.py
@@ -93,7 +93,7 @@ class RoutesMapper(object):
old_route_re = re.compile(r'(\:[_a-zA-Z]\w*)')
star_at_end = re.compile(r'\*\w*$')
-# The torturous nature of the regex named ``route_re`` below is due to the
+# The tortuous nature of the regex named ``route_re`` below is due to the
# fact that we need to support at least one level of "inner" squigglies
# inside the expr of a {name:expr} pattern. This regex used to be just
# (\{[a-zA-Z][^\}]*\}) but that choked when supplied with e.g. {foo:\d{4}}.
@@ -106,7 +106,7 @@ def update_pattern(matchobj):
def _compile_route(route):
# This function really wants to consume Unicode patterns natively, but if
# someone passes us a bytestring, we allow it by converting it to Unicode
- # using the ASCII decoding. We decode it using ASCII because we dont
+ # using the ASCII decoding. We decode it using ASCII because we don't
# want to accept bytestrings with high-order characters in them here as
# we have no idea what the encoding represents.
if route.__class__ is not text_type:
@@ -175,7 +175,7 @@ def _compile_route(route):
# This function really wants to consume Unicode patterns natively,
# but if someone passes us a bytestring, we allow it by converting it
# to Unicode using the ASCII decoding. We decode it using ASCII
- # because we dont want to accept bytestrings with high-order
+ # because we don't want to accept bytestrings with high-order
# characters in them here as we have no idea what the encoding
# represents.
if path.__class__ is not text_type: