mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #473 from oyvindjam/doc-basic-missingcall
Add missing call on response.json
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ use it:
|
||||
|
||||
response = requests.get('https://httpbin.org/ip')
|
||||
|
||||
print('Your IP is {0}'.format(response.json['origin']))
|
||||
print('Your IP is {0}'.format(response.json()['origin']))
|
||||
|
||||
Then you can run this script using ``pipenv run``:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user