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.

classification
Title: Bug in documentation for SimpleXMLRPCServer
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: FrankMillman, georg.brandl
Priority: normal Keywords:

Created on 2007-09-12 05:21 by FrankMillman, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg55836 - (view) Author: Frank Millman (FrankMillman) Date: 2007-09-12 05:21
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')
msg55849 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-09-12 18:06
Fixed in rev. 58114.
History
Date User Action Args
2022-04-11 14:56:26adminsetgithub: 45493
2007-09-12 18:06:07georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg55849
2007-09-12 06:32:56georg.brandlsetassignee: georg.brandl
nosy: + georg.brandl
2007-09-12 05:21:35FrankMillmancreate