Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
xmlrpc.client.MultiCallIterator Class Reference

List of all members.

Public Member Functions

def __init__
def __getitem__

Public Attributes


Detailed Description

Iterates over the results of a multicall. Exceptions are
thrown in response to xmlrpc faults.

Definition at line 820 of file

Constructor & Destructor Documentation

def xmlrpc.client.MultiCallIterator.__init__ (   self,

Definition at line 824 of file

00825     def __init__(self, results):
00826         self.results = results

Here is the caller graph for this function:

Member Function Documentation

Definition at line 827 of file

00828     def __getitem__(self, i):
00829         item = self.results[i]
00830         if type(item) == type({}):
00831             raise Fault(item['faultCode'], item['faultString'])
00832         elif type(item) == type([]):
00833             return item[0]
00834         else:
00835             raise ValueError("unexpected type in multicall result")

Member Data Documentation

Definition at line 825 of file

The documentation for this class was generated from the following file: