Skip to content
Myr

removed unneeded parentheses from if clause

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

authored by Udi Oron · committed by Udi Oron · parent 127ab0a · 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:docs/user/advanced.rst+1 added-1 removed
421 unmodified lines
422423We should confirm that GitHub responded correctly. If it has, we want to work424out what type of content it is. Do this like so::425426 >>> if (r.status_code == requests.codes.ok):426 >>> if r.status_code == requests.codes.ok:427 ... print r.headers['content-type']428 ...429 application/json; charset=utf-8430
252 unmodified lines