qyg J d Z dZdZ G d de Z G d 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 e Zd ZdZd Zd 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) c 0 || _ || _ || _ d S )N)name_patternversion)selfr PATTERNr s r/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib/python3.11/site-packages/libpasteurize/fixes/feature_base.py__init__zFeature.__init__ s c . t | j | j fz S )zS Format the above text with the name and minimum version required. )message_unformattedr r r s r message_textzFeature.message_text s #di%>>>r N)__name__ __module____qualname____doc__r r r r r r s<