HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pip/_vendor/webencodings/__pycache__/mklabels.cpython-310.pyc
o

!��h�@shdZddlZzddlmZWneyddlmZYnwdd�Zdd�Zedkr2e	ed	��dSdS)
z�

    webencodings.mklabels
    ~~~~~~~~~~~~~~~~~~~~~

    Regenarate the webencodings.labels module.

    :copyright: Copyright 2012 by Simon Sapin
    :license: BSD, see LICENSE for details.

�N)�urlopencCs||��ksJ�|S�N)�lower)�string�r�C/usr/lib/python3/dist-packages/pip/_vendor/webencodings/mklabels.py�assert_lowersrcsfdg}dd�t�t|����d��D�}tdd�|D���|��fdd�|D��|�d�d	�|�S)
Na"""

    webencodings.labels
    ~~~~~~~~~~~~~~~~~~~

    Map encoding labels to their name.

    :copyright: Copyright 2012 by Simon Sapin
    :license: BSD, see LICENSE for details.

"""

# XXX Do not edit!
# This file is automatically generated by mklabels.py

LABELS = {
cSsLg|]"}|dD]}|dD]}tt|���d�t|d��d�f�qqqS)�	encodings�labels�u�name)�reprr�lstrip)�.0�category�encoding�labelrrr�
<listcomp>,s����
�zgenerate.<locals>.<listcomp>�asciicss�|]	\}}t|�VqdSr��len�rrrrrr�	<genexpr>2s�zgenerate.<locals>.<genexpr>c3s.�|]\}}d|d�t|�|fVqdS)z    %s:%s %s,
� Nrr��max_lenrrr3s
��
��}�)	�json�loadsr�read�decode�max�extend�append�join)�url�partsr
rrr�generates��

r(�__main__z.http://encoding.spec.whatwg.org/encodings.json)
�__doc__r�urllibr�ImportError�urllib.requestrr(�__name__�printrrrr�<module>s�!�