[1.6.x] Fixed typo in middleware docs.

Function definition should have an ending colon.

Backport of 48241ec from master
This commit is contained in:
Peter Kowalczyk 2014-06-24 13:16:53 -05:00 committed by Simon Charette
parent c38e47bec0
commit e4670d988a
1 changed files with 1 additions and 1 deletions

View File

@ -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)