Skip to content
Myr

Merge pull request #2134 from nonZero/patch-1

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

removed unneeded parentheses from if clause

authored by Ian Cordasco · committed by Ian Cordasco · parents 54fc807, 6dc13f2 · 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