We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 127ab0a commit 6dc13f2Copy full SHA for 6dc13f2
docs/user/advanced.rst
@@ -423,7 +423,7 @@ like so::
423
We should confirm that GitHub responded correctly. If it has, we want to work
424
out what type of content it is. Do this like so::
425
426
- >>> if (r.status_code == requests.codes.ok):
+ >>> if r.status_code == requests.codes.ok:
427
... print r.headers['content-type']
428
...
429
application/json; charset=utf-8
0 commit comments