← Back
Editing: html.cpython-311.pyc
� �|�eL! � � � d Z ddlmZ ddlmZ ed� � Zd� Z G d� d� � Z G d� d e� � Z G d � de � � Z G d� d e� � Zd� ZdS )zCompare two HTML documents.� )� HTMLParser)�_lazy_re_compilez[\t\n\f\r ]+c �8 � t � d| � � S )N� )�ASCII_WHITESPACE�sub)�strings �2/usr/lib/python3/dist-packages/django/test/html.py�normalize_whitespacer s � �����V�,�,�,� c �R � e Zd Zd� Zd� Zd� Zd� Zd� Zdd�Zd� Z d � Z d � Zd� Zd� Z d S )�Elementc �J � || _ t |� � | _ g | _ d S �N)�name�sorted� attributes�children)�selfr r s r �__init__zElement.__init__ s# � ��� � ��,�,����� � � r c � � t |t � � rpt |� � }| j rYt | j d t � � r9| j dxx |z cc<