projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
127ab0a
)
removed unneeded parentheses from if clause
author
Udi Oron
<udioron@gmail.com>
Tue, 15 Jul 2014 16:56:47 +0000
(19:56 +0300)
committer
Udi Oron
<udioron@gmail.com>
Tue, 15 Jul 2014 16:56:47 +0000
(19:56 +0300)
docs/user/advanced.rst
patch
|
blob
|
history
diff --git
a/docs/user/advanced.rst
b/docs/user/advanced.rst
index 6a3906355f61d38eeb2ccd62a8f83fa340b4b5dc..6343e48fada15f5e724ab767462839389b401218 100644
(file)
--- a/
docs/user/advanced.rst
+++ b/
docs/user/advanced.rst
@@
-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