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

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. __all__ = [
  5.     'StyleSheetList']
  6. __docformat__ = 'restructuredtext'
  7. __version__ = '$Id: stylesheetlist.py 1629 2009-01-04 18:58:47Z cthedot $'
  8.  
  9. class StyleSheetList(list):
  10.     
  11.     def item(self, index):
  12.         
  13.         try:
  14.             return self[index]
  15.         except IndexError:
  16.             return None
  17.  
  18.  
  19.     length = property((lambda self: len(self)), doc = 'The number of :class:`StyleSheet` objects in the list. The range  of valid child stylesheet indices is 0 to length-1 inclusive.')
  20.  
  21.