home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1999 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  580 b   |  15 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. '''Legacy interface to the BeautifulSoup HTML parser.
  5. '''
  6. __all__ = [
  7.     'parse',
  8.     'convert_tree']
  9. from soupparser import convert_tree, parse as _parse
  10.  
  11. def parse(file, beautifulsoup = None, makeelement = None):
  12.     root = _parse(file, beautifulsoup = beautifulsoup, makeelement = makeelement)
  13.     return root.getroot()
  14.  
  15.