
    =hhM                     $    d Z dgZ G d de      Zy)zBStyleSheetList implements DOM Level 2 Style Sheets StyleSheetList.StyleSheetListc                   ,    e Zd ZdZd Z ed d      Zy)r   a  Interface `StyleSheetList` (introduced in DOM Level 2)

    The `StyleSheetList` interface provides the abstraction of an ordered
    collection of :class:`~cssutils.stylesheets.StyleSheet` objects.

    The items in the `StyleSheetList` are accessible via an integral index,
    starting from 0.

    This Python implementation is based on a standard Python list so e.g.
    allows ``examplelist[index]`` usage.
    c                 ,    	 | |   S # t         $ r Y yw xY w)z
        Used to retrieve a style sheet by ordinal `index`. If `index` is
        greater than or equal to the number of style sheets in the list,
        this returns ``None``.
        N)
IndexError)selfindexs     c/var/www/api/v1/venv_fitandmore/lib/python3.12/site-packages/cssutils/stylesheets/stylesheetlist.pyitemzStyleSheetList.item   s#    	; 		s    	c                     t        |       S )N)len)r   s    r   <lambda>zStyleSheetList.<lambda>   s    SY    zThe number of :class:`StyleSheet` objects in the list. The range  of valid child stylesheet indices is 0 to length-1 inclusive.)docN)__name__
__module____qualname____doc__r	   propertylength r   r   r   r      s!    
	 JFr   N)r   __all__listr   r   r   r   <module>r      s    H
T r   