Skip to content

Commit

Permalink
Add missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Oct 18, 2018
1 parent 9473ef8 commit 5112520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ factory properly by setting the default factory. See :ref:`rpcinterface_factorie
Then you can connect to supervisor's HTTP port
with any XML-RPC client library and run commands against it.

An example of doing this using Python2's ``xmlrpclib`` client library
An example of doing this using Python 2's ``xmlrpclib`` client library
is as follows.

.. code-block:: python
import xmlrpclib
server = xmlrpclib.Server('http://localhost:9001/RPC2')
An example of doing this using Python3's ``xmlrpc.client`` library
An example of doing this using Python 3's ``xmlrpc.client`` library
is as follows.

.. code-block:: python
Expand Down

0 comments on commit 5112520

Please sign in to comment.