From 48241ec9c4e971042c69fb26a8328f3055eed462 Mon Sep 17 00:00:00 2001 From: Peter Kowalczyk Date: Tue, 24 Jun 2014 13:16:53 -0500 Subject: [PATCH] Fixed typo in middleware docs. Function definition should have an ending colon. --- docs/topics/http/middleware.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/http/middleware.txt b/docs/topics/http/middleware.txt index 9335ecc12a..f9d894f517 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)