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.