Bläddra i källkod

Clarify example.
The previous example worked but relied on a behavior of xmlrpclib to
use an implied path of "/RPC2" when no path is given (note that it had
no trailing slash). The new example explicitly uses "/RPC2".

Mike Naberezny 13 år sedan
förälder
incheckning
017155f9fd
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      docs/introduction.rst

+ 1 - 1
docs/introduction.rst

@@ -165,7 +165,7 @@ XML-RPC Interface
   .. code-block:: python
 
      import xmlrpclib
-     server = xmlrpclib.Server('http://localhost:9001')
+     server = xmlrpclib.Server('http://localhost:9001/RPC2')
           
   You may call methods against the :program:`supervisord` and its
   subprocesses by using the ``supervisor`` namespace.  An example is