https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/libpasteurize/fixes/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/libpasteurize/fixes/__pycache__/feature_base.cpython-310.pyc
o

,�]��@s0dZdZdZGdd�de�ZGdd�de�ZdS)z�
Base classes for features that are backwards-incompatible.

Usage:
features = Features()
features.add(Feature("py3k_feature", "power< 'py3k' any* >", "2.7"))
PATTERN = features.PATTERN
z%s=%sz-
%s is only supported in Python %s and above.c@s eZdZdZdd�Zdd�ZdS)�Featurez�
    A feature has a name, a pattern, and a minimum version of Python 2.x
    required to use the feature (or 3.x if there is no backwards-compatible
    version of 2.x)
    cCs||_||_||_dS)N)�name�_pattern�version)�selfr�PATTERNr�r�B/usr/lib/python3/dist-packages/libpasteurize/fixes/feature_base.py�__init__s
zFeature.__init__cCst|j|jfS)zS
        Format the above text with the name and minimum version required.
        )�message_unformattedrr�rrrr�message_textszFeature.message_textN)�__name__�
__module__�__qualname__�__doc__r	rrrrrrsrc@s0eZdZdZiZdd�Zedd��Zdd�ZdS)	�Featuresz�
    A set of features that generates a pattern for the features it contains.
    This set will act like a mapping in that we map names to patterns.
    cCstdd�t|�D��|_dS)zS
        Called every time we care about the mapping of names to features.
        cSsg|]}|j|f�qSr)r��.0�frrr�
<listcomp>*sz+Features.update_mapping.<locals>.<listcomp>N)�dict�iter�mappingrrrr�update_mapping&szFeatures.update_mappingcCs |��d�dd�t|�D��S)z{
        Uses the mapping of names to features to return a PATTERN suitable
        for using the lib2to3 patcomp.
        z |
cSsg|]
}t|j|jf�qSr)�pattern_unformattedrrrrrrr3sz$Features.PATTERN.<locals>.<listcomp>)r�joinrrrrrr,szFeatures.PATTERNcCs
|j|S)zH
        Implement a simple mapping to get patterns from names.
        )r)r�keyrrr�__getitem__5s
zFeatures.__getitem__N)	r
rrrrr�propertyrrrrrrrs
rN)rrr
�objectr�setrrrrr�<module>s
	

https://t.me/RX1948 - 2025