AlkantarClanX12
Current Path : /usr/lib64/python3.8/xml/dom/__pycache__/ |
Current File : //usr/lib64/python3.8/xml/dom/__pycache__/pulldom.cpython-38.pyc |
U e5d�. � @ 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 sz ddl m} || _d d g| _| j| _g | _| jj| _z| jj| _W n t k rV Y nX |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 �'/usr/lib64/python3.8/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&