[New-bugs-announce] [issue1152] Bug in documentation for SimpleXMLRPCServer
Frank Millman
report at bugs.python.org
Wed Sep 12 07:21:36 CEST 2007
New submission from Frank Millman:
I spotted a minor bug in the documentation to SimpleXMLRPCServer.
Background:
xmlrpclib.py has the following -
# This class is available as ServerProxy and Server. New code
should
# use ServerProxy, to avoid confusion.
#
...
class ServerProxy:
...
Server = ServerProxy
The bug:
Section 18.25.1 SimpleXMLRPCServer Objects
...
Example:
...
The following client code will call the methods made available by
the preceding server:
import xmlrpclib
s = xmlrpclib.Server('http://localhost:8000')
It should say:
s = xmlrpclib.ServerProxy('http://localhost:8000')
----------
components: Documentation
messages: 55836
nosy: FrankMillman
severity: normal
status: open
title: Bug in documentation for SimpleXMLRPCServer
versions: Python 2.5
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1152>
__________________________________
More information about the New-bugs-announce
mailing list