Corrected http.multipartparser.exhaust() docstring.
MultiPartParserError was removed in
@@ -566,11 +566,7 @@ class BoundaryIter:
def exhaust(stream_or_iterable):
- """
- Completely exhausts an iterator or stream.
-
- Raise a MultiPartParserError if the argument is not a stream or an iterable.
- """
+ """Exhaust an iterator or stream."""
try:
iterator = iter(stream_or_iterable)
except TypeError:
