Skip to content

Commit 6dc13f2

Browse files
committed
removed unneeded parentheses from if clause
1 parent 127ab0a commit 6dc13f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ like so::
423423
We should confirm that GitHub responded correctly. If it has, we want to work
424424
out what type of content it is. Do this like so::
425425

426-
>>> if (r.status_code == requests.codes.ok):
426+
>>> if r.status_code == requests.codes.ok:
427427
... print r.headers['content-type']
428428
...
429429
application/json; charset=utf-8

0 commit comments

Comments
 (0)