Browse files

Removed a code example that I did not manage to get through rst.

  • Loading branch information...
1 parent 03a6348 commit fe7633c2858691ed00684f56f6cf3c85c1d13736 @mitsuhiko mitsuhiko committed Jun 17, 2012
Showing with 3 additions and 4 deletions.
  1. +3 −4 werkzeug/
7 werkzeug/
@@ -235,11 +235,10 @@ def _line_parse(line):
def parse_multipart_headers(iterable):
"""Parses multipart headers from an iterable that yields lines (including
- the trailing newline symbol. The iterable has to be newline terminated:
+ the trailing newline symbol). The iterable has to be newline terminated.
- >>> parse_multipart_headers(['Foo: Bar\r\n', 'Test: Blub\r\n',
- ... '\r\n', 'More data'])
- Headers([('Foo', 'Bar'), ('Test', 'Blub')])
+ The iterable will stop at the line where the headers ended so it can be
+ further consumed.
:param iterable: iterable of strings that are newline terminated

0 comments on commit fe7633c

Please sign in to comment.