Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /usr/lib/python3.6/site-packages/pip/_vendor/webencodings/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib/python3.6/site-packages/pip/_vendor/webencodings/__pycache__/mklabels.cpython-36.pyc
3

�υ_�@sfdZddlZyddlmZWn ek
r<ddlmZYnXdd�Zdd�Zedkrbe	ed	��dS)
z�

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

    Regenarate the webencodings.labels module.

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

�N)�urlopencCs||j�kst�|S)N)�lower�AssertionError)�string�r�/usr/lib/python3.6/mklabels.py�assert_lowersrcsfdg}dd�tjt|�j�jd��D�}tdd�|D���|j�fdd�|D��|jd�d	j|�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|]D}|dD]6}|dD](}tt|��jd�t|d�jd�f�qqqS)Z	encodings�labels�u�name)�reprr�lstrip)�.0�category�encoding�labelrrr�
<listcomp>-szgenerate.<locals>.<listcomp>�asciicss|]\}}t|�VqdS)N)�len)rrrrrr�	<genexpr>2szgenerate.<locals>.<genexpr>c3s,|]$\}}d|d�t|�|fVqdS)z    %s:%s %s,
� N)r)rrr)�max_lenrrr4s�}�)	�json�loadsr�read�decode�max�extend�append�join)Zurl�partsr	r)rr�generates


r#�__main__z.http://encoding.spec.whatwg.org/encodings.json)
�__doc__rZurllibr�ImportErrorZurllib.requestrr#�__name__�printrrrr�<module>s!

haha - 2025