diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-18 04:38:11 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-18 04:38:11 +0000 |
| commit | a7429dfc7c33fc2e47f962d1b2dda1b2f23dc25c (patch) | |
| tree | 865bf28b9f4b7f761268aaca4a8f501b826a0b22 | |
| parent | 9cafa36c9b9764f9f51693dded96fcbb40396246 (diff) | |
| download | pyramid-a7429dfc7c33fc2e47f962d1b2dda1b2f23dc25c.tar.gz pyramid-a7429dfc7c33fc2e47f962d1b2dda1b2f23dc25c.tar.bz2 pyramid-a7429dfc7c33fc2e47f962d1b2dda1b2f23dc25c.zip | |
| -rw-r--r-- | docs/narr/views.rst | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
