diff options
| author | Chris McDonough <chrism@plope.com> | 2011-09-09 03:49:28 -0700 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-09-09 03:49:28 -0700 |
| commit | 63a6168255550c8ed43a7482e2c943a8418b8b12 (patch) | |
| tree | ff6aca3adc2d0e852d3ea13fdd648f3d4e7b3712 /docs | |
| parent | 82470ebe3615341f0c1b6dcfd7b68ada617d0e12 (diff) | |
| parent | 814455d4475046a24cd11a30805a5db8d4e4ed13 (diff) | |
| download | pyramid-63a6168255550c8ed43a7482e2c943a8418b8b12.tar.gz pyramid-63a6168255550c8ed43a7482e2c943a8418b8b12.tar.bz2 pyramid-63a6168255550c8ed43a7482e2c943a8418b8b12.zip | |
Merge pull request #269 from stevepiercy/patch-2
Insert missing "to".
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/introduction.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/introduction.rst b/docs/narr/introduction.rst index aa9602908..12afaa663 100644 --- a/docs/narr/introduction.rst +++ b/docs/narr/introduction.rst @@ -618,7 +618,7 @@ A lot is made of the aesthetics of what *kinds* of objects you're allowed to return from view callables in various frameworks. In a previous section in this document we showed you that, if you use a :term:`renderer`, you can usually return a dictionary from a view callable instead of a full-on -:term:`Response` object. But some frameworks allow you return strings or +:term:`Response` object. But some frameworks allow you to return strings or tuples from view callables. When frameworks allow for this, code looks slightly prettier, because fewer imports need to be done, and there is less code. For example, compare this: |
