removed unneeded parentheses from if clause

This commit is contained in:
Udi Oron
2014-07-15 19:56:47 +03:00
parent 127ab0a9f6
commit 6dc13f2194
+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