Skip to content

Commit

Permalink
Merge pull request #262 from carsonip/patch-1
Browse files Browse the repository at this point in the history
Fix typo in docstring example
  • Loading branch information
sigmavirus24 authored Apr 18, 2019
2 parents bc1b273 + 8a4b8ea commit 207ca64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests_toolbelt/multipart/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class MultipartDecoder(object):
import requests
from requests_toolbelt import MultipartDecoder
response = request.get(url)
response = requests.get(url)
decoder = MultipartDecoder.from_response(response)
for part in decoder.parts:
print(part.headers['content-type'])
Expand Down

0 comments on commit 207ca64

Please sign in to comment.