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:09:04 -0400 |
| commit | ea64ef7ed702ebaf68877c73ba0d8bb832d16415 (patch) | |
| tree | 2a2c06dfcdf7b1ae841cde071780bd2ad6c3e4cc /docs | |
| parent | 60375eda324d708870dc2ba18b4ac4d6114a68f6 (diff) | |
[1.7.x] Fixed typo in middleware docs.
Function definition should have an ending colon.
Backport of 48241ec9c4 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 a2b71dc664..308cbbf0a9 100644 --- a/docs/topics/http/middleware.txt +++ b/docs/topics/http/middleware.txt @@ -223,7 +223,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) |
