Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Removed a code example that I did not manage to get through rst.
  • Loading branch information
mitsuhiko committed Jun 17, 2012
1 parent 03a6348 commit fe7633c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions werkzeug/formparser.py
Expand Up @@ -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
"""
Expand Down

0 comments on commit fe7633c

Please sign in to comment.