浏览代码

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 年之前
父节点
当前提交
017155f9fd
共有 1 个文件被更改,包括 1 次插入1 次删除
  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