[Twisted-Python] XML-RPC: Why encapsulate in a list?

Steve Freitas sflist at ihonk.com
Sun Aug 24 00:57:07 EDT 2003

Hi all,

If I try this code:

def xmlrpc_blah(self):
    return { 'x': "yadda" }

What I get back through Python's xmlrpclib client is...


Why does my dictionary (ergo struct) get encapsulated in a list (ergo
array)? What should I do if I just want to return a struct?


Steve Freitas

More information about the Twisted-Python mailing list