summaryrefslogtreecommitdiffstats
path: root/Doc/library/simplexmlrpcserver.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/simplexmlrpcserver.rst')
-rw-r--r--Doc/library/simplexmlrpcserver.rst8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/simplexmlrpcserver.rst b/Doc/library/simplexmlrpcserver.rst
index 8533bf8..ab20ad0 100644
--- a/Doc/library/simplexmlrpcserver.rst
+++ b/Doc/library/simplexmlrpcserver.rst
@@ -109,7 +109,11 @@ alone XML-RPC servers.
considered valid. The default value is ``('/', '/RPC2')``.
-Example::
+.. _simplexmlrpcserver-example:
+
+SimpleXMLRPCServer Example
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+Server code::
from SimpleXMLRPCServer import SimpleXMLRPCServer
@@ -137,7 +141,7 @@ Example::
# Run the server's main loop
server.serve_forever()
-The following client code will call the methods made available by the preceding
+The following client code will call the methods made available by the preceding
server::
import xmlrpclib