1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Ë
·^iãó^—ddlZddlZddlmZdddddd    œZ                            dd
„Zd „Zd „Zd „Zd„Z    y)éNé)Ú__ne__z==ú<z<=ú>z>=)ÚeqÚltÚleÚgtÚgecó‡ —dgt«gtdœŠ d}d}|d}td|«‰ d<t‰ d<||d    z }td
|«‰ d <||d    z }td |«‰ d <||d    z }td|«‰ d<||d    z }td|«‰ d<t    j
|t fiˆ fd„«}    |r|    jjt«d|cxkrdkr(n|    S|s d}
t|
«‚tj|    «}    |    S)aú
    Create a class that can be passed into `attrs.field`'s ``eq``, ``order``,
    and ``cmp`` arguments to customize field comparison.
 
    The resulting class will have a full set of ordering methods if at least
    one of ``{lt, le, gt, ge}`` and ``eq``  are provided.
 
    Args:
        eq (typing.Callable | None):
            Callable used to evaluate equality of two objects.
 
        lt (typing.Callable | None):
            Callable used to evaluate whether one object is less than another
            object.
 
        le (typing.Callable | None):
            Callable used to evaluate whether one object is less than or equal
            to another object.
 
        gt (typing.Callable | None):
            Callable used to evaluate whether one object is greater than
            another object.
 
        ge (typing.Callable | None):
            Callable used to evaluate whether one object is greater than or
            equal to another object.
 
        require_same_type (bool):
            When `True`, equality and ordering methods will return
            `NotImplemented` if objects are not of the same type.
 
        class_name (str | None): Name of class. Defaults to "Comparable".
 
    See `comparison` for more details.
 
    .. versionadded:: 21.1.0
    Úvalue)Ú    __slots__Ú__init__Ú _requirementsÚ_is_comparable_torFTrÚ__eq__rrrÚ__lt__r    Ú__le__r
Ú__gt__r Ú__ge__có&•—|j‰«S©N)Úupdate)ÚnsÚbodys €õ\H:\项目\archive\测试组\脚本\Change_password\venv_build\Lib\site-packages\attr/_cmp.pyú<lambda>zcmp_using.<locals>.<lambda>]sø€¨b¯i©i¸«o€óézDeq must be define is order to complete ordering from lt, le, gt, ge.) Ú
_make_initrÚ_make_operatorrÚtypesÚ    new_classÚobjectrÚappendÚ_check_same_typeÚ
ValueErrorÚ    functoolsÚtotal_ordering) rrr    r
r Úrequire_same_typeÚ
class_nameÚnum_order_functionsÚhas_eq_functionÚtype_Úmsgrs            @rÚ    cmp_usingr0 sDø€ð`YÜ“LØÜ.ñ     €DðÐØ€Oà    €~؈Ü'¨¨bÓ1ˆˆX‰ÜˆˆX‰à    €~ؘqÑ ÐÜ'¨¨bÓ1ˆˆX‰à    €~ؘqÑ ÐÜ'¨¨bÓ1ˆˆX‰à    €~ؘqÑ ÐÜ'¨¨bÓ1ˆˆX‰à    €~ؘqÑ ÐÜ'¨¨bÓ1ˆˆX‰ä O‰OØ”VI˜rÓ#=ó €Eñ
Ø ×Ñ×"Ñ"Ô#3Ô4ð    Ð Ô" Ô"ð €LñðYˆCܘS“/Ð !Ü×(Ñ(¨Ó/ˆà €Lrcó —d„}|S)z!
    Create __init__ method.
    có—||_y)z1
        Initialize object with *value*.
        N)r )Úselfr s  rrz_make_init.<locals>.__init__us €ðˆ
r©)rs rr r ps€ò
ð €OrcóL‡—ˆfd„}d|›d|_dt|›d|_|S)z!
    Create operator method.
    c󌕗|j|«stS‰|j|j«}|turtS|Sr)rÚNotImplementedr )r3ÚotherÚresultÚfuncs   €rÚmethodz_make_operator.<locals>.methodƒs>ø€Ø×%Ñ% eÔ,Ü!Ð !ád—j‘j %§+¡+Ó.ˆØ ”^Ñ #Ü!Ð !àˆ rÚ__z    Return a z b.  Computed by attrs.)Ú__name__Ú_operation_namesÚ__doc__)Únamer:r;s ` rr!r!~s;ø€ô
ð˜4˜& m€F„Oà
Ô$ TÑ*Ð+Ð+BÐCð „Nð €MrcóD‡‡—tˆˆfd„‰jD««S)z8
    Check whether `other` is comparable to `self`.
    c3ó0•K—|] }|‰‰«–—Œy­wrr4)Ú.0r:r8r3s  €€rú    <genexpr>z$_is_comparable_to.<locals>.<genexpr>™søèø€Ò@ T‰tD˜%× Ñ@ùsƒ)Úallr©r3r8s``rrr•sù€ô Ô@¨T×-?Ñ-?Ô@Ó @Ð@rcóZ—|jj|jjuS)zR
    Return True if *self* and *other* are of the same type, False otherwise.
    )r Ú    __class__rFs  rr&r&œs#€ð ;‰;×  Ñ   D§J¡J×$8Ñ$8Ð 8Ð8r)NNNNNTÚ
Comparable)
r(r"Ú_makerr>r0r r!rr&r4rrú<module>rKsVðóÛ åð c°¸SÈÑMÐð Ø Ø Ø Ø ØØó`òF òò.Aó9r