관리-도구
편집 파일: __init__.cpython-311.pyc
� ����9U{B����������������������6����d�Z�ddlZddlmZ�ddgZdOd�Zi�dd�d d �dd�d d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$�d%d&�d'd(�i�d)d*�d+d,�d-d.�d/d0�d1d2�d3d4�d5d6�d7d8�d9d:�d;d<�d=d>�d?d@�dAdB�dCdD�dEdF�dGdH�dIdJ��Zh�dK�Z dL��Z �ej��������dM������������ZdN��Z dS�)Pz* General functions for HTML manipulation. �����N)�html5�escape�unescapeTc������������������������|�����������������������dd������������}�|�����������������������dd������������}�|�����������������������dd������������}�|r,|�����������������������dd������������}�|�����������������������d d ������������}�|�S�)z� Replace special characters "&", "<" and ">" to HTML-safe sequences. If the optional flag quote is true (the default), the quotation mark characters, both double quote (") and single quote (') characters are also translated. �&z&�<z<�>z>�"z"�'z')�replace)�s�quotes��� �4/opt/alt/python311/lib64/python3.11/html/__init__.pyr���r������sp������� � � �#�w���A� � � �#�v���A� � � �#�v���A���&� �I�I�c�8�$�$�� �I�I�d�H�%�%���H����������� ���� ����u���€������������u���‚����u���ƒ����u���„����u���…����u���†����u���‡����u���ˆ����u���‰����u���Š����u���‹����u���Œ������������u���Ž��������������������u���‘����u���’����u���“����u���”����u���•����u���–����u���—����u���˜����u���™����u���š����u���›����u���œ������������u���ž����u���Ÿ>~������������������������������������������������������������������������������������������������������������������������������������������������������� �� ������ ��������������������������� �� ������ ���������������������������������������������������������������������������������������������������������������������r���r���r���r���r���r���r���r���r���r���r���r ���r!���r"���r$���r%���r'���r)���r*���r+���r,���r-���r.���r/���r0���r1���r2���r3���r4���r5���r7���r8�����c������������������v����|�����������������������d������������}�|�d���������dk����r�|�d���������dv�r,t����������|�dd��������������������������������d������������d������������}n*t����������|�dd��������������������������������d������������������������}|t����������v�r t����������|���������S�d|cxk����rd k����sn�|d k����rdS�|t����������v�rdS�t����������|������������S�|�t����������v�r t����������|����������S�t����������t����������|�������������dz ��dd ������������D�]5}|�d�|����������t����������v�r"t����������|�d�|�������������������|�|d�����������z���c�S��6d|�z���S�)Nrz���r����#�xXr{����;r����i����i����r����r��������r���) �group�int�rstrip�_invalid_charrefs�_invalid_codepoints�chr�_html5�range�len)r ����num�xs��� r����_replace_charrefr����[���sP����� ���� � �A���t�s�{�{��Q�4�4�<�<��a����e�l�l�3�'�'��,�,�C�C��a����e�l�l�3�'�'�(�(�C��#�#�#�$�S�)�)��S�"�"�"�"�F�"�"�"�"�c�H�n�n��8��%�%�%��2��3�x�x��� ��;�;��!�9���s�1�v�v�a�x��B�'�'�� �� �A���!��u�����a����e�}�q����u�,�,�,�,������7�Nr���z7&(#[0-9]+;?|#[xX][0-9a-fA-F]+;?|[^\t\n\f <&#;]{1,32};?)c������������������N�����d|�vr|�S�t��������������������������������t����������|�������������S�)a^�� Convert all named and numeric character references (e.g. >, >, &x3e;) in the string s to the corresponding unicode characters. This function uses the rules defined by the HTML 5 standard for both valid and invalid character references, and the list of HTML 5 named character references defined in html.entities.html5. r���)�_charref�subr����)r ���s��� r���r���r���z���s'��������!�|�|����<�<�(�!�,�,�,r���)T)�__doc__�re�_re� html.entitiesr���r�����__all__r���r����r����r�����compiler����r�����r���r����<module>r�������sP����������������)��)��)��)��)��)���Z� �� �� �� �� �$#��(�#��$�#�� �(�#�� �&� #� � �(�#�� �(� #�� �(�#�� �(�#�� �(�#�� �(�#�� �(�#�� �(�#�� �(�#�� �(�#�� �(�#� � �&�!#�"� �(�##��#�$� �&�%#�&� �&�'#�(� �(�)#�*� �(�+#�,� �(�-#�.� �(�/#�0� �(�1#�2� �(�3#�4� �(�5#�6� �(�7#�8� �(�9#�:� �(�;#�<� �(�=#�>� �(�?#�@� �&�A#�B� �(�C#�D� �(�E#��#���J�������0�����6��3�;��3��4��4�� -�� -�� -�� -�� -r���