Skip to content

Commit ac759e6

Browse files
kennethreitzJon Wayne Parrott
authored andcommitted
Fix syntax error (pypa#372)
1 parent 8b696f6 commit ac759e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/new-tutorials/installing-and-using-packages.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ use it:
154154
155155
response = requests.get('https://httpbin.org/ip')
156156
157-
print('Your IP is {0}'.format(response.json['origin']))
157+
print('Your IP is {0}'.format(response.json()['origin']))
158158
159159
Then you can run this script using ``pipenv run``:
160160

0 commit comments

Comments
 (0)