AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/xml/dom/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/xml/dom/__pycache__/pulldom.cpython-311.opt-2.pyc |
� c��fu- � �� � d dl Zd dlZdZdZdZdZdZdZdZ d Z G d � dej j � � Z G d� d � � Z G d� d� � Z G d� de � � ZdZdd�Zdd�ZdS )� N� START_ELEMENT�END_ELEMENT�COMMENT�START_DOCUMENT�END_DOCUMENT�PROCESSING_INSTRUCTION�IGNORABLE_WHITESPACE� CHARACTERSc �~ � e Zd ZdZdZdd�Zd� Zd� Zd� Zd� Z d� Z d� Zd � Zd � Z d� Zd� Zd � Zd� Zd� Zd� Zd� Zd� ZdS )�PullDOMNc � � ddl m} || _ d d g| _ | j | _ g | _ | j j | _ | j j | _ n# t $ r Y nw xY w|dig| _ | j d | _ g | _ d S )Nr )� XML_NAMESPACE�xml���) �xml.domr �documentFactory� firstEvent� lastEvent�elementStack�append�push�pop�AttributeError�_ns_contexts�_current_context�pending_events)�selfr r s �6/opt/alt/python311/lib64/python3.11/xml/dom/pulldom.py�__init__zPullDOM.__init__ s� � �)�)�)�)�)�)�.�����,�����������%�,�� � ��(�,�D�H�H��� � � ��D� ���� ,�E�2�3��� $� 1�"� 5��� ����s �A � A�Ac �0 � | j d }| j d= |S �Nr )r )r �results r r zPullDOM.pop! s � ��"�2�&����b�!�� � c � � || _ d S �N)�_locator)r �locators r �setDocumentLocatorzPullDOM.setDocumentLocator&