summaryrefslogtreecommitdiffstats
path: root/Doc/library/xmlrpc.server.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/xmlrpc.server.rst')
-rw-r--r--Doc/library/xmlrpc.server.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/xmlrpc.server.rst b/Doc/library/xmlrpc.server.rst
index 1a9c757..0d75206 100644
--- a/Doc/library/xmlrpc.server.rst
+++ b/Doc/library/xmlrpc.server.rst
@@ -126,7 +126,7 @@ Server code::
requestHandler=RequestHandler)
server.register_introspection_functions()
- # Register pow() function; this will use the value of
+ # Register pow() function; this will use the value of
# pow.__name__ as the name, which is just 'pow'.
server.register_function(pow)
@@ -135,10 +135,10 @@ Server code::
return x + y
server.register_function(adder_function, 'add')
- # Register an instance; all the methods of the instance are
+ # Register an instance; all the methods of the instance are
# published as XML-RPC methods (in this case, just 'div').
class MyFuncs:
- def div(self, x, y):
+ def div(self, x, y):
return x // y
server.register_instance(MyFuncs())