#NEWLINE# def get_method_by( root_node , idname ) : #NEWLINE# #INDENT# if idname . isdigit ( ) : #NEWLINE# #INDENT# return get_method_by_id ( idname ) #NEWLINE# #UNINDENT# return get_method_by_name ( root_node , idname )