Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

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

  • Loading branch information...
commit fe7633c2858691ed00684f56f6cf3c85c1d13736 1 parent 03a6348
@mitsuhiko authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.