AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/xml/dom/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/xml/dom/__pycache__/pulldom.cpython-39.opt-2.pyc |
a R�f�. � @ s� d dl Zd dlZdZdZdZdZdZdZdZ d Z G d d� dejj�Z G dd � d �ZG dd� d�ZG dd� de �ZdZddd�Zddd�ZdS )� N� START_ELEMENT�END_ELEMENT�COMMENT�START_DOCUMENT�END_DOCUMENT�PROCESSING_INSTRUCTION�IGNORABLE_WHITESPACE� CHARACTERSc @ s� e Zd ZdZdZd$dd�Zdd� Zdd� Zdd � Zd d� Z dd � Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� ZdS )%�PullDOMNc C sx ddl m} || _d d g| _| j| _g | _| jj| _z| jj| _W n t yT Y n0 |dig| _ | j d | _g | _d S )Nr )� XML_NAMESPACE�xml���) Zxml.domr �documentFactory� firstEvent� lastEvent�elementStack�append�push�pop�AttributeError�_ns_contexts�_current_context�pending_events)�selfr r � r �4/opt/alt/python39/lib64/python3.9/xml/dom/pulldom.py�__init__ s zPullDOM.__init__c C s | j d }| j d= |S �Nr )r )r �resultr r r r ! s zPullDOM.popc C s || _ d S �N)�_locator)r Zlocatorr r r �setDocumentLocator&