diff options
| author | Peter Kowalczyk <slixpk@gmail.com> | 2014-06-24 13:16:53 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2014-06-24 16:13:29 -0400 |
| commit | e4670d988aa66f3c81d5abf40dbb3f326ef5a830 (patch) | |
| tree | 2b5393496df085a40be9ab6b1c697dd9096c03f7 /docs | |
| parent | c38e47bec02d67fe9497fb384fafb5f2806cff0b (diff) | |
[1.6.x] Fixed typo in middleware docs.
Function definition should have an ending colon.
Backport of 48241ec from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/http/middleware.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index 56e9879291..8ac189d1d4 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -226,7 +226,7 @@ must test for streaming responses and adjust their behavior accordingly:: Response middleware may wrap it in a new generator, but must not consume it. Wrapping is typically implemented as follows:: - def wrap_streaming_content(content) + def wrap_streaming_content(content): for chunk in content: yield alter_content(chunk) |
