Minor documentation bug

F

Frank Millman

Hi all

I spotted a minor bug in the documentation to SimpleXMLRPCServer. It
does not seem worth getting a login to the bugtracker just to enter
this, so if it is confirmed as a bug perhaps someone would be so kind
as to enter it for me.

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')

As I said, it is minor, but it had me confused for a couple of
minutes, as there is no class called Server in the documentation for
xmlrpclib itself.

It present in the 2.5 and the 2.6 docs.

Thanks

Frank Millman
 
T

Tim Golden

Frank said:
I spotted a minor bug in the documentation to SimpleXMLRPCServer. It
does not seem worth getting a login to the bugtracker just to enter
this, so if it is confirmed as a bug perhaps someone would be so kind
as to enter it for me.

Frank, please do take the trouble to enter this. With the
new roundup bugtracker, it's *really easy* to get a login.

http://bugs.python.org

TJG
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top