#NEWLINE# def call( self , method , args , kwargs , one_way = False ) : #NEWLINE# #INDENT# 'Calls the requested method and returns the result.\n\n        If an error occured, an :py:class:`~tinyrpc.exc.RPCError` instance\n        is raised.\n\n        :param method: Name of the method to call.\n        :param args: Arguments to pass to the method.\n        :param kwargs: Keyword arguments to pass to the method.\n        :param one_way: Whether or not a reply is desired.\n        ' #NEWLINE# req = self . protocol . create_request ( method , args , req , one_way ) #NEWLINE# return self . _send_and_handle_reply ( req ) . result