MINI MINI MANI MO
ó
Fì]c           @   s¦   d  Z  d d d d g Z d d l Z y e Wn  e k
 rN e d ƒ f Z n Xe d ƒ e e d ƒ ƒ f Z d e f d „  ƒ  YZ	 d e
 f d	 „  ƒ  YZ d
 „  Z d S(   s1   Python version compatibility support for minidom.t   NodeListt
   EmptyNodeListt   StringTypest   defpropertyiÿÿÿÿNt    c           B   sP   e  Z d Z d  „  Z d „  Z d „  Z e e e d d ƒZ d „  Z d „  Z	 RS(   c         C   s.   d | k o t  |  ƒ k  n r* |  | Sd  S(   Ni    (   t   len(   t   selft   index(    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   item6   s    "c         C   s
   t  |  ƒ S(   N(   R   (   R   (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   _get_length:   s    c         C   s   t  j j d ƒ ‚ d  S(   Ns.   attempt to modify read-only attribute 'length'(   t   xmlt   domt   NoModificationAllowedErr(   R   t   value(    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   _set_length=   s    	t   docs$   The number of nodes in the NodeList.c         C   s
   t  |  ƒ S(   N(   t   list(   R   (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   __getstate__D   s    c         C   s   | |  (d  S(   N(    (   R   t   state(    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   __setstate__G   s    (    (
   t   __name__t
   __module__t	   __slots__R   R	   R   t   propertyt   lengthR   R   (    (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyR    3   s   					c           B   sP   e  Z d Z d  „  Z d „  Z d „  Z d „  Z d „  Z e e e d d ƒZ	 RS(   c         C   s   t  ƒ  } | j | ƒ | S(   N(   R    t   extend(   R   t   othert   NL(    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   __add__N   s    	
c         C   s   t  ƒ  } | j | ƒ | S(   N(   R    R   (   R   R   R   (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyt   __radd__S   s    	
c         C   s   d  S(   N(   t   None(   R   R   (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyR   X   s    c         C   s   d S(   Ni    (    (   R   (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyR	   [   s    c         C   s   t  j j d ƒ ‚ d  S(   Ns.   attempt to modify read-only attribute 'length'(   R
   R   R   (   R   R
   (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyR   ^   s    	R   s$   The number of nodes in the NodeList.(    (
   R   R   R   R   R   R   R	   R   R   R   (    (    (    s*   /usr/lib64/python2.7/xml/dom/minicompat.pyR   K   s   					c         C   so   t  |  d | ƒ j } | d „ } t |  d | ƒ sF t d | ƒ ‚ t | | d | ƒ} t |  | | ƒ d  S(   Nt   _get_c         S   s    t  j j d t | ƒ ƒ ‚ d  S(   Ns&