소스 검색

Fixed typo in middleware docs.

Function definition should have an ending colon.
Peter Kowalczyk 10 년 전
부모
커밋
48241ec9c4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/topics/http/middleware.txt

+ 1 - 1
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)