Mercurial > p > roundup > code
view roundup/anypy/xmlrpc_.py @ 7701:5a35cfee727a
doc: use 'TEST-NET' IPv4 or IPv6 IP address ranges from RFC 6890
Replace ip examples with test doc ip addresses for any address not in
127.0.0.1 or 0.0.0.0.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 14 Nov 2023 16:53:56 -0500 |
| parents | 99d4fb22aa65 |
| children | 7b33365ccb2a |
line wrap: on
line source
try: # Python 3+. from xmlrpc import client, server server.SimpleXMLRPCDispatcher except (ImportError, AttributeError): # Python 2. import xmlrpclib as client # noqa: F401 import SimpleXMLRPCServer as server
