⚠️ BACKUP DATA ANDA SECARA TERATUR! File manager ini untuk keperluan teknis.
Zy Filemanager
berang berang bawa gelek berangkat lek !!!
🌙 Dark Mode
🏠 Home Shell
🔄 Refresh
Current Path:
Home Shell
/
opt
/
alt
/
python36
/
lib
/
python3.6
/
site-packages
/
pip
/
_vendor
/
html5lib
/
_trie
/
__pycache__
⬆️ Parent Directory
📁 File Browser
Name
Size
Permissions
Modified Date
Actions
📄
__init__.cpython-36.pyc
(383 bytes)
383 B
0644
📅
✏️
✍️
⬇️
🗑️
📄
_base.cpython-36.pyc
(1,613 bytes)
1.58 KB
0644
📅
✏️
✍️
⬇️
🗑️
📄
py.cpython-36.pyc
(2,263 bytes)
2.21 KB
0644
📅
✏️
✍️
⬇️
🗑️
📤 Upload Files
Single File
Multiple Files
ZIP Extract
ZIP file will be deleted after extraction
➕ Create New
New Folder
New File
✍️ Editing: _base.cpython-36.pyc
File: /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/html5lib/_trie/__pycache__/_base.cpython-36.pyc
Size: 1.58 KB | Last Modified: 2023-11-14 04:24:39
💾 Backup File
🔢 Toggle Line Numbers
3 �Re� � @ sZ d dl mZmZmZ yd dlmZ W n ek rD d dlmZ Y nX G dd� de�ZdS )� )�absolute_import�division�unicode_literals)�Mappingc s: e Zd ZdZd� fdd� Zdd� Zdd� Zd d � Z� ZS )�TriezAbstract base class for triesNc s0 t t| �j� }� d krt|�S � fdd�|D �S )Nc s h | ]}|j � �r|�qS � )� startswith)�.0�x)�prefixr ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/html5lib/_trie/_base.py� <setcomp> s zTrie.keys.<locals>.<setcomp>)�superr �keys�set)�selfr r )� __class__)r r r s z Trie.keysc C s$ x| j � D ]}|j|�r dS q W dS )NTF)r r )r r �keyr r r �has_keys_with_prefix s zTrie.has_keys_with_prefixc C sT || kr|S x:t dt|�d �D ]$}|d | � | kr |d | � S q W t|��d S )N� )�range�len�KeyError)r r �ir r r �longest_prefix s zTrie.longest_prefixc C s | j |�}|| | fS )N)r )r r �lprefixr r r �longest_prefix_item&