Changeset 24678

Show
Ignore:
Timestamp:
09/05/2008 04:26:51 AM (2 years ago)
Author:
therve
Message:

Add some docstrings to callRemote.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/xmlrpc-empty-response-3399/twisted/web/xmlrpc.py

    r24666 r24678  
    392392 
    393393    def callRemote(self, method, *args): 
     394        """ 
     395        Call remote XML-RPC C{method} with given arguments. 
     396 
     397        @return: a L{defer.Deferred} that will fire with the method response, 
     398            or a failure if the method failed. Generally, the failure type will 
     399            be L{Fault}, but you can also have an C{IndexError} on some buggy 
     400            servers giving empty responses. 
     401        """ 
    394402        factory = self.queryFactory( 
    395403            self.path, self.host, method, self.user,