from myqueue import Queue def parse(doc): """ :param doc: (str) a document to be parsed :return: (Queue) a queue containing tag (without attributes) :CU: None :Example: >>> q = parse("
du contenu ignoré
") >>> q.is_empty() False >>> q.dequeue() == "" True >>> q.dequeue() == "
" True >>> q.dequeue() == "
" True >>> q.dequeue() == "" True >>> q.is_empty() True >>> # Other example >>> q = parse("

>> q.dequeue() == "" True >>> q.dequeue() == "

" True >>> q.is_empty() True """ pass if __name__ == "__main__": import doctest doctest.testmod()