Browse files

[1.7.x] Fixed typo in middleware docs.

Function definition should have an ending colon.

Backport of 48241ec from master
  • Loading branch information...
1 parent 60375ed commit ea64ef7ed702ebaf68877c73ba0d8bb832d16415 @slix slix committed with charettes Jun 24, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/http/middleware.txt
2 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)

0 comments on commit ea64ef7

Please sign in to comment.