documentation

This commit is contained in:
Romain Bignon 2010-04-16 20:11:36 +02:00
commit 3f9083df27
2 changed files with 51 additions and 2 deletions

View file

@ -42,7 +42,7 @@ def load_buildtin():
from .htmlparser import HTMLParser
return HTMLParser
def get_parser(preference_order=['lxml', 'html5lib', 'elementtidy', 'builtin']):
def get_parser(preference_order=('lxml', 'html5lib', 'elementtidy', 'builtin')):
"""
Get a parser from a preference order list.
This allows Weboob to run on systems without lxml, which is the default parser.