Skip to content
Myr

Fix a syntax error on py2.5 and pypy

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by digitalxero · committed by digitalxero · parent 718f456 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/core.py+1 added-1 removed
392 unmodified lines
393394 return request('POST', url, data=data, headers=headers, files=files, cookiejar=cookies, auth=auth)395396397def put(url, data=b'', headers={}, files={}, cookies=None, auth=None):397def put(url, data='', headers={}, files={}, cookies=None, auth=None):398 """Sends a PUT request. Returns :class:`Response` object.399400 :param url: URL for the new :class:`Request` object.401 :param params: (optional) Bytes of PUT Data to send with the :class:`Request`.
33 unmodified lines