This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FrankMillman
Recipients FrankMillman
Date 2007-09-12.05:21:34
SpamBayes Score 0.14265798
Marked as misclassified No
Message-id <1189574496.01.0.0600340666373.issue1152@psf.upfronthosting.co.za>
In-reply-to
Content
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')
History
Date User Action Args
2007-09-12 05:21:36FrankMillmansetspambayes_score: 0.142658 -> 0.14265798
recipients: + FrankMillman
2007-09-12 05:21:36FrankMillmansetspambayes_score: 0.142658 -> 0.142658
messageid: <1189574496.01.0.0600340666373.issue1152@psf.upfronthosting.co.za>
2007-09-12 05:21:35FrankMillmanlinkissue1152 messages
2007-09-12 05:21:34FrankMillmancreate