HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/future/backports/__pycache__/total_ordering.cpython-310.pyc
o

,�]��@s2dZddlZejdkrddlmZdSdd�ZdS)z�
For Python < 2.7.2. total_ordering in versions prior to 2.7.2 is buggy.
See http://bugs.python.org/issue10042 for details. For these versions use
code borrowed from Python 2.7.3.

From django.utils.
�N)��r)�total_orderingcCs�ddd�fddd�fddd�fgddd�fd	d
d�fddd�fgd	dd�fdd
d�fddd�fgddd�fddd�fd	dd�fgd�}tt|��t|�@}|sStd��t|�}||D]\}}||vrs||_tt|�j|_t|||�q[|S)z6Class decorator that fills in missing ordering methods�__gt__cSs||kp||kS�N���self�otherrr�A/usr/lib/python3/dist-packages/future/backports/total_ordering.py�<lambda>�z total_ordering.<locals>.<lambda>�__le__cSs||kp||kSrrrrrrr��__ge__cSs
||kSrrrrrrr�
cSs||kp||kSrrrrrrrr
�__lt__cSs||ko||kSrrrrrrrr
cSs
||kSrrrrrrrrcSs||kp||kSrrrrrrrr
cSs||kp||kSrrrrrrrrcSs
||kSrrrrrrrrcSs||kp||kSrrrrrrrr
cSs||ko||kSrrrrrrrr
cSs
||kSrrrrrrrr)rrrrz6must define at least one ordering operation: < > <= >=)	�set�dir�
ValueError�max�__name__�getattr�int�__doc__�setattr)�cls�convert�roots�root�opname�opfuncrrrr
s8


�


�


�


���r)r�sys�version_info�	functoolsrrrrr�<module>s