home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- __all__ = [
- 'CSSRuleList']
- __docformat__ = 'restructuredtext'
- __version__ = '$Id: cssrulelist.py 1824 2009-08-01 21:00:34Z cthedot $'
-
- class CSSRuleList(list):
-
- def __init__(self, *ignored):
- pass
-
-
- def __notimplemented(self, *ignored):
- raise NotImplementedError('Must be implemented by class using an instance of this class.')
-
- append = extend = __setitem__ = __setslice__ = __notimplemented
-
- def item(self, index):
-
- try:
- return self[index]
- except IndexError:
- return None
-
-
- length = property((lambda self: len(self)), doc = '(DOM) The number of CSSRules in the list.')
-
-