summaryrefslogtreecommitdiff
path: root/pecan
diff options
context:
space:
mode:
authorPete <pete@coderpete.net>2012-03-27 09:42:28 -0700
committerPete <pete@coderpete.net>2012-03-27 09:42:28 -0700
commit98356b0d2364e98038039bd8b116d1592e8d44f1 (patch)
tree60b591d0c50343cf5457b90f5c0998e11e241b9b /pecan
parent50c9f843d81bd5a901f2d595c33802c9a31c9d4a (diff)
downloadpecan-98356b0d2364e98038039bd8b116d1592e8d44f1.tar.gz
Typo fixes.
Diffstat (limited to 'pecan')
-rw-r--r--pecan/routing.py2
-rw-r--r--pecan/templating.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pecan/routing.py b/pecan/routing.py
index 668b4c0..6fe219e 100644
--- a/pecan/routing.py
+++ b/pecan/routing.py
@@ -64,7 +64,7 @@ def lookup_controller(obj, url_path):
def find_object(obj, remainder, notfound_handlers):
'''
'Walks' the url path in search of an action for which a controller is
- implemented and returnst that controller object along with what's left
+ implemented and returns that controller object along with what's left
of the remainder.
'''
prev_obj = None
diff --git a/pecan/templating.py b/pecan/templating.py
index c57984d..ff8eb6b 100644
--- a/pecan/templating.py
+++ b/pecan/templating.py
@@ -208,7 +208,7 @@ def format_line_context(filename, lineno, context=10):
#
class ExtraNamespace(object):
'''
- Extra variables for the template namesapce to pass to the renderer as named
+ Extra variables for the template namespace to pass to the renderer as named
parameters.
:param extras: dictionary of extra parameters. Defaults to an empty dict.