ok

Mini Shell

Direktori : /proc/self/root/usr/lib64/python3.6/xml/etree/__pycache__/
Upload File :
Current File : //proc/self/root/usr/lib64/python3.6/xml/etree/__pycache__/ElementInclude.cpython-36.opt-2.pyc

3


 \�@sPddlZddlmZdZedZedZGdd�de�Zdd	d
�Zd
dd�Z	dS)�N�)�ElementTreez!{http://www.w3.org/2001/XInclude}�includeZfallbackc@seZdZdS)�FatalIncludeErrorN)�__name__�
__module__�__qualname__�r	r	�0/usr/lib64/python3.6/xml/etree/ElementInclude.pyr>src	Cs\|dkr.t|d��}tj|�j�}WdQRXn*|s6d}t|d|d��}|j�}WdQRX|S)N�xml�rbzUTF-8�r)�encoding)�openr�parseZgetroot�read)�hrefrr�file�datar	r	r
�default_loaderMsrcCsp|dkrt}d}�xX|t|�k�rj||}|jtk�r:|jd�}|jdd�}|dkr�|||�}|dkrvtd||f��tj|�}|jr�|jp�d|j|_|||<n�|dk�r,||||jd��}|dkr�td||f��|�r||d	}|jp�d||jp�d|_n|j�pd||j�pd|_||=qntd
|��n&|jt	k�rVtd|j��n
t
||�|d	}qWdS)Nrrrrzcannot load %r as %r��textrrz)unknown parse type in xi:include tag (%r)z0xi:fallback tag must be child of xi:include (%r))r�len�tag�XINCLUDE_INCLUDE�getr�copy�tailr�XINCLUDE_FALLBACKr)�elem�loader�i�errZnoderr	r	r
rcsF





)N)N)
rrrZXINCLUDErr�SyntaxErrorrrrr	r	r	r
�<module>3s


Zerion Mini Shell 1.0