def FindMethodByName(self, name):
    """Searches for the specified method, and returns its descriptor."""
    for method in self.methods:
      if name == method.name:
        return method
    return None
def FindMethodByName(self, name):
    """Searches for the specified method, and returns its descriptor."""
    for method in self.methods:
      if name == method.name:
        return method
    return None
def FindMethodByName ( self , name ) : for method in self . methods : if name == method . name : return method return None
Searches for the specified method, and returns its descriptor.
Searches for the specified method and returns its descriptor .