def __getitem__(self, name):
m = self.__methods.get(name)<EOL>if m is None:<EOL><INDENT>qn = '<STR_LIT:.>'.join((self.__qn, name))<EOL>raise MethodNotFound(qn)<EOL><DEDENT>return Method(self.__client, m)<EOL>
Get a method by name and return it in an I{execution wrapper}.
@param name: The name of a method.
@type name: str
@return: An I{execution wrapper} for the specified method name.
@rtype: L{Method}