Fix an innacuracy in an example in the docs

requests switched from json as a property to json as a method a long time ago

Change-Id: I04a782615d5c80b5cf5127d8b1b31fde9ad95250
This commit is contained in:
Alex Gaynor
2014-05-27 12:39:51 -05:00
parent 99d5df0e3a
commit dbffefcf7c

View File

@@ -42,7 +42,7 @@ Making a basic HTTP GET call is very simple::
from openstack import transport
trans = transport.Transport()
versions = trans.get('cloud.example.com:5000').json
versions = trans.get('cloud.example.com:5000').json()
will retrieve the version data served by the Identity API into a Python dict.