def news_delete_non_existent(): n = nw.news() n['relevance'] = 1 try: del n['ciao'] return True except: return n
def news_clear(): n = nw.news() n['relevance'] = 1 n.clear() return n
def news_equal(): return nw.news()
def news_delete(): n = nw.news() n['relevance'] = 1 del n['relevance'] return n
def news_length(): return len(nw.news())
def news_get(): n = nw.news() n['relevance'] = 1 return n['relevance']
def news_empty(): return nw.news()