summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>2016-01-25 19:29:57 +0900
committerHirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp>2016-01-25 19:29:57 +0900
commit65812849419bd13b2f72bcfc8a40ae6c5078427b (patch)
tree5b98d07a8772e6b9460aa5f96593c86f47549563 /doc/source
parent11d9cc87e0031ee95f39c2949eb5065c6145458f (diff)
downloadpython-neutronclient-65812849419bd13b2f72bcfc8a40ae6c5078427b.tar.gz
Fix code-block for python code in doc
Change-Id: Ia5cb007b0a0093e478416161763dcaa23b9cfbe4
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/usage/library.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/source/usage/library.rst b/doc/source/usage/library.rst
index 44ff5a6..dff0696 100644
--- a/doc/source/usage/library.rst
+++ b/doc/source/usage/library.rst
@@ -54,6 +54,8 @@ Now you can call various methods on the client instance.
Alternatively, you can create a client instance using an auth token
and a service endpoint URL directly.
+.. code-block:: python
+
>>> from neutronclient.v2_0 import client
>>> neutron = client.Client(endpoint_url='http://192.168.206.130:9696/',
- token='d3f9226f27774f338019aa2611112ef6')
+ ... token='d3f9226f27774f338019aa2611112ef6')