def make_parser(parser_list=[]):
 for parser_name in (parser_list + default_parser_list):
  try:
   return _create_parser(parser_name)
  except ImportError as e:
   import sys
   if (parser_name in sys.modules):
    raise
  except SAXReaderNotAvailable:
   pass
 raise SAXReaderNotAvailable('No parsers found', None)

def make_parser ( parser_list = [ ] ) : for parser_name in ( parser_list + default_parser_list ) : try : return _create_parser ( parser_name ) except ImportError as e : import sys if ( parser_name in sys . modules ) : raise except SAXReaderNotAvailable : pass raise SAXReaderNotAvailable ( 'No parsers found' , None )
creates and returns a sax parser .