(node)
return info.replace('; setting', ''), refid
Extract setting name from directive index node
Extract setting name from directive index node
Extract setting name from directive index node
def get_setting_name_and_refid(node):
    """Extract setting name from directive index node"""
    entry_type, info, refid = node['entries'][0][:3]
    return info.replace('; setting', ''), refid
def get_setting_name_and_refid ( node ) : entry_type , info , refid = node [ 'entries' ] [ 0 ] [ : 3 ] return info . replace ( '; setting' , '' ) , refid