Merge pull request #2134 from nonZero/patch-1

removed unneeded parentheses from if clause
This commit is contained in:
Ian Cordasco
2014-07-15 12:13:09 -05:00
+1 -1
View File
@@ -423,7 +423,7 @@ like so::
We should confirm that GitHub responded correctly. If it has, we want to work
out what type of content it is. Do this like so::
>>> if (r.status_code == requests.codes.ok):
>>> if r.status_code == requests.codes.ok:
... print r.headers['content-type']
...
application/json; charset=utf-8