D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python27
/
lib
/
python2.7
/
site-packages
/
pip
/
_vendor
/
html5lib
/
treewalkers
/
Filename :
base.pyc
back
Copy
� �Rec @` s� d d l m Z m Z m Z d d l m Z d d l m Z m Z m Z d d d d d d d d d g Z e j Z e j Z e j Z e j Z e j Z e j Z d Z d j e � Z d e f d � � YZ d e f d � � YZ d S( i ( t absolute_importt divisiont unicode_literals( t Nodei ( t namespacest voidElementst spaceCharactersu DOCUMENTu DOCTYPEu TEXTu ELEMENTu COMMENTu ENTITYu UNKNOWNu TreeWalkeru NonRecursiveTreeWalkeru <#UNKNOWN#>u t TreeWalkerc B` sz e Z d Z d � Z d � Z d � Z e d � Z d � Z d � Z d � Z d � Z d d d � Z d � Z d � Z RS( u} Walks a tree yielding tokens Tokens are dicts that all have a ``type`` field specifying the type of the token. c C` s | | _ d S( uC Creates a TreeWalker :arg tree: the tree to walk N( t tree( t selfR ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/base.pyt __init__ s c C` s t � d S( N( t NotImplementedError( R ( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/base.pyt __iter__# s c C` s i d d 6| d 6S( u� Generates an error token with the given message :arg msg: the error message :returns: SerializeError token u SerializeErroru typeu data( ( R t msg( ( s� /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/html5lib/treewalkers/base.pyt error&