From a7429dfc7c33fc2e47f962d1b2dda1b2f23dc25c Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 18 Jul 2008 04:38:11 +0000 Subject: --- docs/narr/views.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/narr/views.rst b/docs/narr/views.rst index 3331794e3..75260e236 100644 --- a/docs/narr/views.rst +++ b/docs/narr/views.rst @@ -30,7 +30,7 @@ function it returns *another* callable instead of a response. The returned callable is then called by ``repoze.bfg``, with its arguments filled in "magically". -The easiest way to implement a view factory is to imlement it as a +The easiest way to implement a view factory is to implement it as a class. Here's a hello world view factory that is implemented as a class:: @@ -105,7 +105,7 @@ magically during view call time:: View Functions Revisited ------------------------ -Above we provided an example of a "view" imlemented as a function:: +Above we provided an example of a "view" implemented as a function:: def hello_world(context, request): from webob import Response -- cgit v1.2.3