
    9i                     D    S r SSKr\R                  S:  a  SSKJr  gS rg)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_orderingc                 x   SS 4SS 4SS 4/SS 4SS	 4SS
 4/SS 4SS 4SS 4/SS 4SS 4SS 4/S.n[        [        U 5      5      [        U5      -  nU(       d  [        S5      e[        U5      nX    H=  u  pEXB;  d  M  XEl        [        [        U5      R                  Ul        [        XU5        M?     U $ )z6Class decorator that fills in missing ordering methods__gt__c                 *    X:  =(       d    X:H  (       + $ N selfothers     _/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/future/backports/total_ordering.py<lambda> total_ordering.<locals>.<lambda>       4<;X4=6Y    __le__c                      X:  =(       d    X:H  $ r	   r
   r   s     r   r   r          dl6Sdm6Sr   __ge__c                     X:  + $ r	   r
   r   s     r   r   r          $6Fr   c                 "    X::  + =(       d    X:H  $ r	   r
   r   s     r   r   r      s    $6G6X4=6Xr   __lt__c                 "    X:*  =(       a    X:X  + $ r	   r
   r   s     r   r   r          dm6YDHY6Yr   c                     X::  + $ r	   r
   r   s     r   r   r          $6Gr   c                 *    X:  =(       d    X:H  (       + $ r	   r
   r   s     r   r   r      r   r   c                      X:  =(       d    X:H  $ r	   r
   r   s     r   r   r      r   r   c                     X:  + $ r	   r
   r   s     r   r   r      r   r   c                 "    X:  + =(       d    X:H  $ r	   r
   r   s     r   r   r      s    47H6ZT]6Zr   c                 "    X:  =(       a    X:X  + $ r	   r
   r   s     r   r   r      r   r   c                     X:  + $ r	   r
   r   s     r   r   r      r   r   )r   r   r   r   z6must define at least one ordering operation: < > <= >=)	setdir
ValueErrormax__name__getattrint__doc__setattr)clsconvertrootsrootopnameopfuncs         r   r   r      s    !"YZ "ST "FGI !"XY "YZ "GHJ !"YZ "ST "FGI !"Z[ "YZ "GHJ
 CHG,UVV5z%mNF""(!(f!5!=!=V,	 ,
 
r   )r,   sysversion_info	functoolsr   r
   r   r   <module>r7      s%    y (r   