Plan 9 from Bell Labs’s /usr/web/sources/contrib/stallion/root/sys/lib/python2.7/xml/etree/ElementInclude.pyo

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�`^c@shddlZddlmZdZedZedZdefd��YZdd	�Z	dd
�Z
dS(i�Ni(tElementTrees!{http://www.w3.org/2001/XInclude}tincludetfallbacktFatalIncludeErrorcBseZRS((t__name__t
__module__(((s./sys/lib/python2.7/xml/etree/ElementInclude.pyR>scCsat|��}|dkr3tj|�j�}n$|j�}|rW|j|�}nWdQX|S(Ntxml(topenRtparsetgetroottreadtdecode(threfRtencodingtfiletdata((s./sys/lib/python2.7/xml/etree/ElementInclude.pytdefault_loaderMscCs�|dkrt}nd}x�|t|�kr�|}|jtkr�|jd�}|jdd�}|dkr�||�}|dkr�td||f��ntj|�}|jr�|jp�d|j|_n|||<q�dkr�||||jd��}|dkr7td||f��n|rq||d	}|jpWd||jpgd|_n#|j	p}d||jp�d|_	||=qq�d
|��n2|jt
kr�td|j��n
t||�|d	}qWdS(NiRRRscannot load %r as %rtttextR
is)unknown parse type in xi:include tag (%r)s0xi:fallback tag must be child of xi:include (%r)(tNoneRtlenttagtXINCLUDE_INCLUDEtgetRtcopyttailRtXINCLUDE_FALLBACKR(telemtloadertiteRRtnodeR((s./sys/lib/python2.7/xml/etree/ElementInclude.pyRbsF	
	
&#
(RRRtXINCLUDERRtSyntaxErrorRRRR(((s./sys/lib/python2.7/xml/etree/ElementInclude.pyt<module>3s



Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].