Explorar el Código

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 hace 13 años
padre
commit
017155f9fd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/introduction.rst

+ 1 - 1
docs/introduction.rst

@@ -165,7 +165,7 @@ XML-RPC Interface
   .. code-block:: python
   .. code-block:: python
 
 
      import xmlrpclib
      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
   You may call methods against the :program:`supervisord` and its
   subprocesses by using the ``supervisor`` namespace.  An example is
   subprocesses by using the ``supervisor`` namespace.  An example is