From 98356b0d2364e98038039bd8b116d1592e8d44f1 Mon Sep 17 00:00:00 2001 From: Pete Date: Tue, 27 Mar 2012 09:42:28 -0700 Subject: [PATCH] Typo fixes. --- pecan/routing.py | 2 +- pecan/templating.py | 2 +- 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.