def parse_any_descriptor(descr, name=None):
 assert descr
 if (descr[0] == '('):
  return parse_method_descriptor(descr, name)
 else:
  return parse_field_descriptor(descr, name)

def parse_any_descriptor ( descr , name = None ) : assert descr if ( descr [ 0 ] == '(' ) : return parse_method_descriptor ( descr , name ) else : return parse_field_descriptor ( descr , name )
parse either a field or method descriptor .