Qft dZgdZddlZddlZddlZddlZddlZddlZ ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlmZddlmZddlmZmZddlmZeZej>jAD] \Z!Z"e!ede"z<[!["[d Z#ddd d d Z$d Z%dZ&dZ'dZ(dZ)e*edrdZ+ndZ+e*edrdZ,ndZ,dZ-dZ.dZ/e0Z1dZ2dZ3dZ4dZ5dZ6d Z7d!Z8d"Z9d#Z:d$Z;d%Zd(Z?d)Z@d*ZAdd+ZBdd,ZCed-d.ZDd/ZEd0ZFdd1d2ZGd3ZHd4ZId5ZJd6ZKd7ZLd8ZMd9ZNd:ZOdd;ZPiZQiZRdd<ZSGd=d>eTZUGd?d@ejZWdAZXdBZYGdCdDeTZZGdEdFZ[dGZ\dHZ]dIZ^dJZ_ddKZ`edLdMZadNZbedOdPZcdQZdedRdSZedTZfddUZgdVZheidWdXdYfdZZjd[Zkd\Zld]Zmed^d_Znd`ZoedadbZpGdcddepZqdeZrdfZsddgZtdhZuedidjeqjzZwGdkdlewZxddmZyddnZzdoZ{ddpZ|ddqZ}e0Z~ejdrjZejdsjZdtZduZej dvZdwZe~fdxZdyZdzZd{Zd|Zd}Zd~ZdZdZdZdZdZdZdZdZdZdZdZdZej8ej:ej<ej>fZdZddZdZdZdZdZddZddZ ddZdZddddd ddZGddZGddZGddej\Zej`ZejdZejhZejlZejpZGddZGddZGddZdddd ddZGddej|ZdZedk(reyy))zKa-Ping Yee z'Yury Selivanov )h AGEN_CLOSED AGEN_CREATED AGEN_RUNNINGAGEN_SUSPENDEDArgInfo Arguments Attribute BlockFinderBoundArguments BufferFlags CORO_CLOSED CORO_CREATED CORO_RUNNINGCORO_SUSPENDEDCO_ASYNC_GENERATOR CO_COROUTINE CO_GENERATORCO_ITERABLE_COROUTINE CO_NESTED CO_NEWLOCALS CO_NOFREE CO_OPTIMIZED CO_VARARGSCO_VARKEYWORDSClassFoundException ClosureVars EndOfBlock FrameInfo FullArgSpec GEN_CLOSED GEN_CREATED GEN_RUNNING GEN_SUSPENDED Parameter SignatureTPFLAGS_IS_ABSTRACT Tracebackclassify_class_attrscleandoc currentframe findsourceformatannotationformatannotationrelativetoformatargvaluesget_annotations getabsfilegetargs getargvaluesgetasyncgenlocalsgetasyncgenstategetattr_staticgetblock getcallargs getclasstreegetclosurevars getcommentsgetcoroutinelocalsgetcoroutinestategetdocgetfile getframeinfogetfullargspecgetgeneratorlocalsgetgeneratorstategetinnerframes getlineno getmembersgetmembers_static getmodule getmodulenamegetmrogetouterframes getsource getsourcefilegetsourcelines indentsize isabstract isasyncgenisasyncgenfunction isawaitable isbuiltinisclassiscode iscoroutineiscoroutinefunctionisdatadescriptorisframe isfunction isgeneratorisgeneratorfunctionisgetsetdescriptorismemberdescriptorismethodismethoddescriptorismethodwrapperismodule isroutine istracebackmarkcoroutinefunction signaturestacktraceunwrapwalktreeN) iskeyword) attrgetter) namedtuple OrderedDict)refCO_iFglobalslocalseval_strc t t|trt|dd}|r;t|dr/|j dd}t|t j rd}nd}d}t|dd}|r/tjj |d}|r t|dd}tt|} |} npt|t jrt|dd}t|d}d} d} n8t|rt|dd}t|dd}d} |} nt|d|iSt|tst|d|siS|s t|S| Z t| dr | j} t| t j"r | j$} A t| dr | j&}||}|| xsi}t|d d x} r| D cic]} | j(| c} |z}|j+D cic]%\} }| t|t,s|n t/|||'}} }|Scc} wcc}} w) N__dict__get__annotations__ __module__ __globals__z% is not a module, class, or callable.z+.__annotations__ is neither a dict nor None __wrapped____type_params__) isinstancetypegetattrhasattrrwtypesGetSetDescriptorTypesysmodulesdictvars ModuleTypecallable TypeError ValueErrorr{ functoolspartialfuncrz__name__itemsstreval)objrrrsrtobj_dictann obj_globals module_namemodule obj_localsrh type_paramsparamkeyvalue return_values ./opt/alt/python312/lib64/python3.12/inspect.pyr.r.s]+X#t3 D1 %0,,0$7C#u99:C c<6 [[__[$7F%fj$? $s)_  C)) *c,d3c:.   #c,d3c=$7  3'!FGHH { c4 C7"MNOO  Cy v}-++&)"3"34  6= ) ,,K ~!r c#4b99{95@A[E%..%'[AFJ))+(%JCs+eWf1MN%(  B(s H/*H4c8 t|tjSN)r~rrobjects rrara*s0 fe.. //c$ t|tSr)r~rrs rrSrS.s/ fd ##rc8 t|tjSr)r~r MethodTypers rr^r^2s: fe.. //rc t|st|s t|ryt|}t |dxr t |d S)NF__get____set__rSr^rYrrrtps rr_r_6sG Bv(6*j.@ fB 2y ! @'"i*@&@@rc t|st|s t|ryt|}t |dxs t |dS)NFr __delete__rrs rrWrWJsCv(6*j.@ fB 2y ! >WR%>>rMemberDescriptorTypec8 t|tjSr)r~rrrs rr]r]Z &%"<"<==rc yNFr}rs rr]r]b  rrc8 t|tjSr)r~rrrs rr\r\krrc yrr}rs rr\r\srrc8 t|tjSr)r~r FunctionTypers rrYrYzs I fe00 11rc t|r|j}t|rtj|}t |s t |syt |jj|zSr) r^__func__r_unwrap_partialrY_signature_is_functionlikebool__code__co_flags)fflags r_has_code_flagrs^ 1+ JJ 1+!!!$A qM7:  ##d* ++rc$ t|tSr)rrrs rr[r[s6 #| ,,rct|r|j}t|rtj|}t |ddt uS)N_is_coroutine_marker)r^rrrr_is_coroutine_markrs r_has_coroutine_markrsA 1+ JJ 1+!!!$A 1,d 37I IIrcN t|dr |j}t|_|S)Nr)rrrr)rs rrdrds)tZ }} 2D Krc> t|txs t|Sr)rrrrs rrVrVs! #| , H0CC0HHrc$ t|tSr)rrrs rrPrPs #1 22rc8 t|tjSr)r~rAsyncGeneratorTypers rrOrOsA fe66 77rc8 t|tjSr)r~r GeneratorTypers rrZrZs K fe11 22rc8 t|tjSr)r~r CoroutineTypers rrUrUs3 fe11 22rc  t|tjxsht|tjxr&t |j j tzxs$t|tjjSr) r~rrrrgi_coderr collectionsabc Awaitablers rrQrQshI vu22 3 : vu22 3 FV^^,,/DDE : v{88 9;rc8 t|tjSr)r~r TracebackTypers rrcrcsN fe11 22rc8 t|tjSr)r~r FrameTypers rrXrXs D feoo ..rc8 t|tjSr)r~rCodeTypers rrTrTsO, fenn --rc8 t|tjSr)r~rBuiltinFunctionTypers rrRrR sH fe77 88rc8 t|tjSr)r~rMethodWrapperTypers rr`r`s8 fe55 66rc t|xs2t|xs%t|xst|xs t |Sr)rRrYr^r_r`rs rrbrbsJF f  '&! ' '"&) 'v& (rc t|tsy|jtzryt t|t j syt|dry|jjD]\}}t|ddsy|jD]1}t|ddD]}t||d}t|ddsy3y)NFT__abstractmethods____isabstractmethod__r}) r~r __flags__r% issubclassrABCMetarrvrr __bases__)rnamerbases rrNrN!sD fd # -- d6lCKK 0v,-,,. e 50% 8/  D"7z_getmembers..`s$q'rr)setdirrSrHrrvrr~rDynamicClassAttributeappendAttributeErroraddsort) r predicategetterresults processednamesmrorkvrrs r _getmembersr9s:GI KEvVn (( MM//1DAq!!U%@%@A Q2) 63'Ei$$ Ie, NNC< ( c)* LL)L* N5    $--' MM#.E   s0A C09C0C?0 C<;C<?D3D32D3c& t||tSr)rrrrs rrDrDcsG vy' 22rc& t||tSr)rr4rs rrErEhs  vy. 99rrzname kind defining_class objectc ` t|}tt|}td|D}|f|z}||z}t|}|D]]}|jj D]>\}}t |tjs!|j.|j|@_g} t} |D]R} d} d} d}| | vrs | dk(r tdt|| } t| d| } | |vrEd} d}|D]}t|| d}|| us|}|D]} |j|| }|| us|}||} |D]'}| |jvs|j| }| |vr|} n| | | n|}t |t tj"frd}|}nJt |t$tj&frd}|}n%t |t(rd}|}nt+|rd}nd }| jt-| || || j/| U| S#t$rYwxYw#t$rYwxYw) Nc3>K|]}|ttfvs|ywr)rr).0clss r z'classify_class_attrs..sH7Cc$.GC7srvz)__dict__ is special, don't want the proxy __objclass__z static methodz class methodpropertymethoddata)rHrtuplerrvrr~rrfgetrr Exceptionr __getattr__r staticmethodBuiltinMethodType classmethodClassMethodDescriptorTyper rbrr)rrmetamro class_bases all_basesrrrrresultrrhomeclsget_objdict_objlast_clssrch_clssrch_objrkinds rr'r'xsz4 +CT#YGH7HHG&3,Kg%I HEMM'')DAq!U889aff>P Q*FI y  +:%#$OPP!#t,"'>7C+-#G#H$/#*8T4#@#w.'/H%0 %,%'/';';C'FH$w.'/H %, +"*Dt}}$==.')"G  ?  ,g( hu/F/F G H"DC ;0O0O"P Q!DC ( +DC s^DD idGS9: dIJ MC .%$%%  s$H!H HH! H-,H-c |jSr)__mro__)rs rrHrHsN ;;rstopcj |}t||i}tj}t|ts~t |drr| ||r |S|j }t|}||vst||k\rtdj||||<t|ts t |drr|S)Nr{z!wrapper loop when unwrapping {!r}) idrgetrecursionlimitr~rrr{lenrformat)rr$rmemorecursion_limitid_funcs rrhrhs A qE1:D++-Ot$})E  T  K T( tOTo!=@GGJK KW t$})E Krcn |j}t|t|jz Sr) expandtabsr(lstrip)lineexplines rrMrMs,LooG w<#gnn./ //rctjj|j}|y|jj dddD]}t ||}t|sy|S)N.)rrrwry __qualname__splitrrS)rrrs r _findclassr7s] ++//$// *C {!!'',Sb1c4 2 3< Jrcrt|r.|jD]}|tus |j}||cSyt |rb|j j}|j}t|r'tt||dd|j ur|}nR|j}nDt|r)|j}t|}|t|||uryt|rR|j}|j}t|r"|jdz|z|jk(r|}n|j}nt|t r4|j"}|j}t|}|t|||urpyt%|s t'|rX|j}|j(}t|||uryt+|r't|dd}t|t,r ||vr||Sy|jD]} t||j}||cSy#t$rYwxYw#t$rY>wxYw)Nrr3 __slots__)rSr"r__doc__rr^rr__self__r __class__rYr7rRr5r~r rr_rWr r]r)rrdocrselfrrslotss r_finddocr@!s s|KKD6!,,C?J }||$$|| DM GD$-z :cll JC..C C||o ;'#t,C7 3|||| DM    #d *c.>.> >C..C C "xx}} ;'#t,C7 C $4S$9|| 3 S ( c "Cd3E%&45=T{"  $%--C ?J  m&d   s# H;H* H'&H'* H65H6c |j}| t|}t |t syt |S#t$rYywxYw#ttf$rYywxYwr)r:rr@rr~rr()rr=s rr<r<_sqB nn { 6"C c3  C=   *  s 9 A AAAAcB |jjd}tj}|ddD]8}t |j }|st ||z }t ||}:|r|dj |d<|tjkr%tdt |D] }|||d||<|r|ds|j|r|ds|r|ds|jd|r|dsdj|S#t$rYywxYw)N rjr4) r.r6rmaxsizer(r/minrangepopjoin UnicodeError)r=linesmarginr0contentindentis rr(r(rs  &&t, !"ID$++-(GTW,VV,  Qx(E!H CKK 1c%j)eAhvw6G58)E"I IIKE"IE!H IIaLE!Hyy) sD DDc t|r3t|ddr |jStdj |t |rt |dr\tjj|j}t|ddr |jS|jdk(r tdtdj |t|r |j}t|r |j}t!|r |j"}t%|r |j&}t)|r |j*Stdj t-|j.)N__file__z{!r} is a built-in modulery__main__source code not availablez{!r} is a built-in classzVmodule, class, method, function, traceback, frame, or code object was expected, got {})rarrQrr)rSrrrrwryOSErrorr^rrYrrctb_framerXf_coderT co_filenamerr)rrs rr=r=s)J 6:t ,?? "3::6BCCv 6< ([[__V%6%67Fvz40&  J.9::299&ABB&6v f~!!! 77=vL))8+ ,,rc  tjj|}tjj Dcgc]}t | |f}}|j|D]\}}|j|s|d|cSycc}wr) ospathbasename importlib machinery all_suffixesr(rendswith)rZfnamesuffixsuffixesneglens rrGrGs; GG  T "E#,"5"5"B"B"DF"Df+v&"D F MMO" >>& !&> !#  FsB cp t|tjjdd}|tjjddz }t fd|DrAt jjdtjjdzn-t fdtjjDrytjvrSt jjrSt|}t|ddStt|ddddSy)Nc3@K|]}j|ywrr_rsfilenames rr z getsourcefile..s ?)>A8  Q )>rjc3@K|]}j|ywrrfrgs rr z getsourcefile..s$ 97'(X  q !7rj __loader____spec__loader)r=r\r]DEBUG_BYTECODE_SUFFIXESOPTIMIZED_BYTECODE_SUFFIXESanyrYrZsplitextSOURCE_SUFFIXESEXTENSION_SUFFIXES linecachecacheexistsrFr)rall_bytecode_suffixesrris @rrKrKsvH%//GGJY00LLQOO ?)> ??GG$$X.q1''77:;  9$$77 9 99??" ww~~h vx (Fv|T*6 T2Hd C O Prc |t|xs t|}tjj tjj |Sr)rKr=rYrZnormcaseabspath)r _filenames rr/r/sD2!&)rs r__init__z_ClassFinder.__init__s   rc|jj|j|jjd|j||jj |jj y)Nz)rfrr generic_visitrH)r>nodes rvisit_FunctionDefz_ClassFinder.visit_FunctionDefsT $))$ *% 4   rcx|jj|j|jdj |jk(rB|j r|j dj }n |j }|dz}t||j||jjy)Nr3rjrD) rfrrrrIdecorator_listlinenorrrH)r>r line_numbers rvisit_ClassDefz_ClassFinder.visit_ClassDefs $))$ ==CHHTZZ0 0"""11!4;; "kk  1 K%k2 2 4  rN)rryr5rrvisit_AsyncFunctionDefrr}rrrrs!/ rrc t|}|rtj|n8t|}|j dr|j ds t dt||}|r!tj||j}ntj|}|s t dt|r|dfSt|rZ|j}dj|}tj|}t!|} |j#|t dt)|r |j*}t-|r |j.}t1|r |j2}t5|r |j6}t9|rkt;|ds t d |j<d z } t?j@d } | dkDr' || } | jE| r || fS| d z } | dkDr'|| fSt d #t$$r}|j&d} || fcYd}~Sd}~wwxYw#tB$r t d wxYw)N<>rSzcould not get source coderjzcould not find class definitionco_firstlinenoz"could not find function definitionrDz>^(\s*def\s)|(\s*async\s+def\s)|(.*(?? ?$$q(jjZ[Qh 9T{yyd{!8DQhd{ . //9# &&&)K+% % &, 9788 9s*G? H(? H%H H% H%(H=c, t|\}}t|rd}|r |ddddk(rd}|t |kr>||j dvr)|dz}|t |kr||j dvr)|t |kr{||dddk(rog}|}|t |krL||dddk(rA|j ||j|dz}|t |kr ||dddk(rAdj|Syy|dkDrwt||}|dz }|dk\r]||jdddk(rBt|||k(r/||jjg}|dkDr|dz }||jj}|dddk(r]t|||k(rL|g|dd|dz }|dkrn;||jj}|dddk(rt|||k(rL|r4|dj dk(rg|dd|r|dj dk(r|r4|dj dk(rg|dd|r|dj dk(rdj|Syyyy#ttf$rYywxYw) Nrjz#!rD)r#rrr4) r*rTrrar(striprr.rIrMr/)rrKrstartcommentsendrNcomments rr9r9rs ( t U1Xbq\T)15c%j U5\%7%7%9Y%FAIEc%j U5\%7%7%9Y%F 3u: %,r"2c"9HCE "uSz"1~'<c 5 5 78AgE "uSz"1~'<778$ $ #:  E$K(Qh !8c ))+BQ/36 uSz "f ,c --/6689HQwAg*//188:bqkS(Zc -Cv-M$+9HRaL'CQw#Cj335<<>G bqkS(Zc -Cv-M x{002c9!! x{002c9x|113s: " x|113s:778$ $ -78 % Y sJJJc eZdZy)rNrr}rrrrsrrceZdZ dZdZy)r cfd|_d|_d|_d|_d|_d|_d|_y)NrjFrD)rNislambdastartedpassline indecoratorlast body_col0r>s rrzBlockFinder.__init__s4      rcR|js?|js3|dk(rd|_d|_y|dvr|dk(rd|_d|_d|_y|tj k(r8d|_|d|_|jrt|jrd|_yy|jry|tjk(r>|j|jr |d|_ |jdz|_ d|_y|tjk(r*|jdz |_ |jdkrty|tjk(r+|j|d|jk\r |d|_yyy|jdk(r)|tjtjfvrtyy)N@T)defclasslambdarFrjrD)rrrrtokenizeNEWLINErrINDENTrrNDEDENTCOMMENTNL)r>rtokensrowcolerowcolr0s r tokeneaterzBlockFinder.tokeneaters||D$4$4|#' !DM 44H$$(DM#  DM X%% %!DM DI}}  #(  ]]  X__ $~~%$,,!(++/DK DM X__ $++/DK{{a   X%% %~~)gajDNN.J#AJ /K)[[A $x/?/?.M"M #N rN)rryr5rrr}rrr r sJ)rr c t} tjt|j}|D]}|j | |d|jS#t tf$rY t$rW}d|jvr|d^}} |j tjg|n#t tf$rYnwxYwYd}~zd}~wwxYw)N unmatched) r rgenerate_tokensiter__next__rrIndentationError SyntaxErrormsgrr)rK blockfindertokens_tokenr_ _token_infos rr5r5sJ-K ))$u+*>*>?F "K " "F + "+"" ## ( )   aee #  K  "K " "8#3#3 Bk B,-    sA>AC ,C 4C !B,+C,B>;C=B>>CC c t|}t|\}}t|r |j}t |s$t |r|j jdk(r|dfSt||d|dzfS)NzrjrD) rhr*rcrUrarXrVco_namer5rrKrs rrLrLsv6F^FV$KE46  V]]22j@axde %tax//rcB t|\}}dj|S)Nr)rLrIrs rrJrJs&A !(KE4 775>rc g}|jtdd|D]C}|j||jf||vs%|jt ||||E|S)Nryrr)rrlrrri)classeschildrenparentrcs rriri se7G LLZ j9L: 1;;'( = NN8HQK1= > Nrc0 i}g}|D]c}|jr?|jD]/}||vrg||<|||vr||j||s*||vs/LN||vsS|j|e|D]}||vs|j|t||dSr)rrri)runiquerrootsrrs rr7r7sEH E  ;;++)')HV$HV,,V$++A.f/ & e^ LLO  LL  E8T **rrzargs, varargs, varkwc t|stdj||j}|j}|j }t |d|}t ||||z}||z }d}|jtzr|j|}|dz}d}|jtzr|j|}t||z||S)Nz{!r} is not a code objectrD) rTrr) co_varnames co_argcountco_kwonlyargcountlistrrrr)cornargsnkwargsr kwonlyargsvarargsvarkws rr0r00s ":3::2>?? NNE NNE""G fu DeE%-01J WEG {{Z..'  E {{^#u% TJ& 77rrzGargs, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotationsc  t|ddtd}g}d}d}g}g}i}d} i} |j|j ur|j|d<|j jD]} | j} | j} | tur:|j| | j| j ur| | jfz } n| tur:|j| | j| j urg| | jfz } nV| tur| }nK| tur9|j| | j| j ur| j| | <n | t ur| }| j"| j us| j"|| <!| sd} | sd} t%||z||| || |S#t$r}td|d}~wwxYw)NF)follow_wrapper_chainsskip_bound_argsigclsrtzunsupported callabler}return)_signature_from_callabler$rrreturn_annotationempty parametersvaluesr r_POSITIONAL_ONLYrdefault_POSITIONAL_OR_KEYWORD_VAR_POSITIONAL _KEYWORD_ONLY _VAR_KEYWORD annotationr)rsigexrrr posonlyargsr annotationsdefaults kwdefaultsrr rs rr?r?Ns8"'t=B6;.705 7 DG EKJKHJ CII- # 5 5 H&&(zzzz # #   t $}}EKK/U]],, + + KK }}EKK/U]],, _ $G ] "   d #}}EKK/#(== 4 \ !E   5;; . % 0 0K -)0   {T)7E8!:{ <.repls;;=D$$Y/ /rz[\w\.]+r~r3) rrsubreprr~r GenericAliasrrryr5)r base_modulers rr+r+sz<.(: 0vvj$Z(899*e001:*d#  Z$= =** *$$S()@)@@@  rc,t|ddfd}|S)Nryct|Sr)r+)rrs r_formatannotationz5formatannotationrelativeto.._formatannotations F33r)r)rrrs @rr,r,s V\4 0F4 rc d|zS)N*r}rs rrrssTzrc d|zS)N**r}r s rrrsTD[rcdt|zS)N=)r)rs rrrs cDK.?rc> |||fd}g} tt|D]} | j||| |r#| j|||||z|r#| j|||||zddj| zdzS)Nc*|||||zSrr})rrs formatarg formatvalues rconvertz formatargvalues..convertsVD\!:::r(, ))rGr(rrI) rrrrsr' formatvarargs formatvarkwr(r)specsrOs rr-r-s M $#; E 3t9  WT!W%& ]7+k&/.JJK  ['+fUm*DDE 5! !C ''rc.|Dcgc]}||vst|}}t|}|dk(r|d}n@|dk(rdj|}n+dj|dd}|dd=dj||z}t d|||rd nd |dk(rd nd |fzcc}w) NrDrjrz {} and {}z , {} and {}r+z*%s() missing %i required %s argument%s: %s positional keyword-onlyrrh)rr(r)rIr) f_nameargnamesposrrrmissingrhtails r_missing_argumentsr9s$, CHDF0BT$ZHE C%jG!| !H A K   &#}##U23Z0 "#J IIe t # @W&)l~#qLbc166 77 Ds B Bc vt||z }t|Dcgc] }||vs| c}} |r |dk7} d|fz} n7|rd} d|t|fz} n"t|dk7} tt|} d} | rd} | |dk7rdnd| | dk7rdndfz} td|| | rdnd|| |dk(r | s d fzd fzcc}w) NrDz at least %dTz from %d to %drz7 positional argument%s (and %d keyword-only argument%s)rhz5%s() takes %s positional argument%s but %d%s %s givenwaswere)r(rr)r4rkwonlyrdefcountgivenratleastarg kwonly_givenpluralr kwonly_sigrs r _too_manyrEs $i("Gv?vv?@LAwj( #d) 44Ta#d)nJGEQJSB $0A$5S2?? K S#R qjU CC DD;A CC DD@s B6B6c R t|}|\}}}}}} } |j} i} t|r|j|jf|z}t |} t |}|r t |nd}t | |}t |D] }||| ||<|rt||d| |<t||z}|ri| |<|jD]=\}}||vr|st| d||| ||<%|| vrt| d||| |<?| |kDr|st| ||||| | | |krH|d||z }|D]}|| vst| |d| t|||z dD]\}}|| vs ||| |<d}|D]}|| vs| r || vr | || |<|dz }|rt| |d| | S)Nrjz&() got an unexpected keyword argument z$() got multiple values for argument TrDF)r?rr^r;r(rFrGrrrrrEr9 enumerate)rr2namedspecrrrr rkwonlydefaultsrr4 arg2valuenum_posnum_args num_defaultsnrOpossible_kwargskwrreqrAr7kwargs rr6r6s/- $ DFJCD'5(J ]]FI~$--3mm% 2 *oG4yH$,3x=!L GXA 1X'] $q'":ab>2 '$+,O  %[[] E _ $!'!-..#(Ie R  ?#R)* * " #'&$ G\I '+H|+,C)#"63i@ X %<%= >?FAs)#!)! #@G  !%>"9#1%#8 % 1   6:ui@ rrz"nonlocals globals builtins unboundc t|r |j}t|stdj ||j }|j i}n=t|j|j Dcic]\}}||j}}}|j}|jdtj}t|r |j}i}i}t} |j D]} | dvr || || <t'|||| Scc}}w#t"$r- || || <n #t"$r| j%| YnwxYwY\wxYw)N{!r} is not a Python function __builtins__)NoneTrueFalse)r^rrYrr)r __closure__zip co_freevars cell_contentsrzrwr~rvrarco_namesKeyErrorrr) rcode nonlocal_varsvarcell global_ns builtin_ns global_vars builtin_vars unbound_namesrs rr8r8Fsm~}} d 7>>tDEE ==D  !!1!143C3CD D T $$$ $D    I~x/@/@AJ (( KLEM  , ,  ( )$K   }k#] 447 * ( (%/%5 T" (!!$' ( (s<<D<D E$D-,E-E E E  EE _Tracebackz+filename lineno function code_context indexc*eZdZddfd ZdZxZS)r&N positionsc>t|||||||}||_|Srsuper__new__rl) rrirfunction code_contextindexrlinstancer<s rrpzTraceback.__new__~s)7?3&(LRWX&rcdj|j|j|j|j|j |j S)NzcTraceback(filename={!r}, lineno={!r}, function={!r}, code_context={!r}, index={!r}, positions={!r}))r)rirrqrrrsrlrs r__repr__zTraceback.__repr__s@@@F t{{DMM4;L;L DNNA, -rrryr5rprv __classcell__r<s@rr&r&}sSW -rr&c^|jj|j}}t||Sr)rUrVtb_lasti_get_code_position)tbr`instruction_indexs r_get_code_position_from_tbrs( kk00"++ D d$5 66rct|dkry|j}ttj||dzdS)Nrj)NNNNr) co_positionsnext itertoolsislice)r`r~ positions_gens rr|r|s;1'%%'M    0AQ0FM NNrc  t|r$t|}|j}|j}n,|j}t |j |j}|d ||g|dd^}}n|g|^}}|d}t|stdj|t|xs t|}|dkDrM|dz |dzz } t|\}}tdt|t!||z }||||z}|dz |z }ndx}}t%|||j j&||t)j*|S#t"$rdx}}YDwxYw)NrjrDz'{!r} is not a frame or traceback objectrrk)rcr tb_linenorUf_linenor|rVf_lastirXrr)rKr=r*maxrFr(rTr&rdis Positions) rcontextrlrrirrKrrss rr>r>sv>5.u5 &u||U]]C |"F;Yqr]; "/Y/ q\F 5>AHHOPPU#5wu~H{ WaZ' '$U+KE43uc%j7&:;>r _FrameInforc*eZdZddfd ZdZxZS)rNrkc @t ||||||||}||_|Srrn) rrrirrqrrrsrlrtr<s rrpzFrameInfo.__new__s+7?3xrrrlf_back)rr framelisttraceback_info frameinfos rrIrIs^GI %eW5H~- IR9Q9QRS   rc g}|rOt||}|jf|z}|jt|d|ji|j }|rO|Sr)r>rUrrrltb_next)r}rrrrs rrBrBsbGI %b'2[[N^3 IR9Q9QRS ZZ rcR ttdrtjdSdS)N _getframerD)rrrr}rrr)r)s"I&sK83== BdBrcB ttjd|S)NrD)rIrr)rs rrfrfsJ #--*G 44rcd tj}|dn |j}t||Sr)r exception __traceback__rB)rexcr}s rrgrgs.M --/C#"3"3B "g &&rr"rvci} tj|d}tj ||t S#t$rY&wxYwNrv)r__getattribute__rrrw _sentinel)rattr instance_dicts r_check_instancersGM //Z@  88M4 33    s5 AAct|D]<}tt|tus||jvs-|j|cStSr)_static_getmro_shadowed_dictrrrv)klassrentrys r _check_classr sD& $u+ &) 38N>>$' '' rc|D]Z}|}t|}d|vs|d}t|tjur|jdk(r|j |urX|cSt Sr)_get_dunder_dict_of_classrrrrr r) weakref_mro weakref_entryr dunder_dict class_dicts r%_shadowed_dict_from_weakref_mro_tuplersn$ /6  $$Z0J$(B(BB'':5++u4!!% rc\tt|Dcgc] }t|c}Scc}wr)rr make_weakref)rrs rrr$s2 1+9%+@ A+@%,u +@ A  As)c t}t|}tt|vr=|}t|}|tust|tj urt ||}n|}t||}|tur[|turStt|dtur8tt|dtustt|dtur|S|tur|S|tur|S||urStt|D]<}tt|tus||jvs-|j|cS|tur|St|)Nrrr) rrrrrrrrrvr) rrrinstance_resultobjtyper dict_attr klass_resultrs rr4r41s7  O3iG >'**"5)  " Ou99 9-c48Ot,Li'L ,I \*I 6i G l+Y 7y HD. =YN i'9$ e|#DK0EtE{+y8ENN*~~d++ 1 i  rr r!r"rc| |jrtS|jrtS|jt St Sr) gi_runningr! gi_suspendedr"gi_framerr ) generators rrArAjs?! rc t|stdj|t|dd}||jj SiS)Nz{!r} is not a Python generatorr)rZrr)rrr)rrs rr@r@|sS y !8?? JKK Iz4 0E !!*** rr rrr c| |jrtS|jrtS|jt St Sr) cr_runningr cr_suspendedrcr_framer r ) coroutines rr;r;s?! rc> t|dd}| |jSiS)Nr)rr)rrs rr:r:s, Iz4 0E ~~ rrrrrc| |jrtS|jrtS|jt St Sr) ag_runningr ag_suspendedrag_framerr)agens rr3r3s;   }} rc t|st|dt|dd}||jjSiS)Nz is not a Python async generatorr)rOrrrr)rrs rr2r2sM d 4("BCDD D*d +E }}%%% rc |dk(rt||d}n t||d}|t|try|dk7r t ||}|S)Nrp)rr4r~_NonUserDefinedCallables_descriptor_get)r method_namemeths r"_signature_get_user_defined_methodrsZisK.c;5 |z$(@AitS) Krc> |j}t|j}|jxsd}|jxsi}|r||z} |j |i|}d} |jD]K\} } |j| } | jtur|j| ;| jtur8| |vrd} | j| || <n|j| j| jt ur| j| || < | s| jtur0|| jt }||| <|j%| | jt t&fvr|j%| | jt(us1|j| jN|j|j+S#t $r"}dj|} t| |d}~wwxYw#t"$rYwxYw)Nr}z+partial object {!r} has incorrect argumentsFT)rr r)rrnrrkeywords bind_partialrr)r argumentsr rrHrreplacerrr_ move_to_endrrr) wrapped_sigr extra_args old_params new_params partial_argspartial_keywordsbarrtransform_to_kwonly param_namer arg_value new_params r_signature_get_partialrs  ''JZ--/0J<<%2L''-2!L0 & %[ % %| H7G H  '--/ E# J Z0Izz--z*zz33!11+/'-2]]9]-MJz*NN5::.zz]*).y)I :& zz33&z2:: :N )2 :&&&z2 |<<&&z2.uzz*a0d   **;*;*=  >>q &;BB7Ko2%&   s*G";H" H +HH  HHc* t|jj}|r|djtt fvr t d|dj}|ttfvr|dd}n|tur t d|j|S)Nrjzinvalid method signaturerDzinvalid argument typer) rrrr rrrrrrr)rparamsr s r_signature_bound_methodrHs3>>((* +F VAY^^ m'DD344 !9>>D &(899  &45 5 ;;&; ))rc t|xs1t|xs$t|txs|tuxs|t uSr)rRr_r~rrrrs r_signature_is_builtinrbsN cN ) s # ) s4 5 ) 4K )&=*rc t|r t|ryt|dd}t|dd}t|dt}t|dt}t|dd}t |t j xrXt |txrF|duxst |txr.|duxst |txrt |txs|duS)NFrr __defaults____kwdefaults__rx) rrSr_voidr~rrrrr)rrr`r r r s rrrps C=GCL 3 D )D 3 D )DsNE2H.6J#0$7K tU^^ , E tS ! E   <He!< E4  ?:j$#? E d , C t0C GrcP |s|dfSd}|jdDcgc]}|s|jd}}t|j}t j|}g}|j }d}t j} t j} t|} |D]L} | j| j} } | | k(r | dk(r|dz }| | k(r| dk(r|}7|| | dk(sE|dNdj|jjdd}||fScc}w) NrCasciirj,rD$ r)r6encoderrrrrOP ERRORTOKENrrstringrIrr)reself_parameterlrKr token_streamrrcurrent_parameterrrtrrclean_signatures r"_signature_strip_non_python_syntaxrs. $N(1(= C(=1QXXg (=E CU $$I$$Y/L D ++C B!!J \Avvqxxf 2:}!Q&! BJVs].N  F cM Hggdm))+33D"=O N **? Ds D#D#Tc |jt|\}}d|zdz} tj|}t |tj stdj|jd}gjd}itdd} | r.tjj| d}|r |jtjj!dfdGfdd tj"ffd } t%|j&j(t%|j&j&z} | t%|j&j*z } t-j.t-j0d| |j&j*} j2t5|j&j(| D]\}}| ||j6t5|j&j&| D]\}}| |||j&j8r)j:| |j&j8j<t5|j&j>|j&j@D]\}}| |||j&jBr)jD| |j&jB|Xtd d}|du}tG|}|r|s|rjIdn$djKj2 } | d<||j S#t$rd}YEwxYw)Nzdef fooz: pass"{!r} builtin has invalid signaturerjrycH|j td|jS)Nz'Annotations are not currently supported)rrrA)rs r parse_namez&_signature_fromstr..parse_names! ?? &FG Gxxrc  t|}t|tt t tttdfrtj|St#t$r$ t|}n#t$rtwxYwYvwxYwr) r NameErrorrr~rintfloatbytesrrrConstant)rhr module_dictsys_module_dicts r wrap_valuez&_signature_fromstr..wrap_values !K(E ec3udDJG H<<& & ! !Q0 !   ! !s) A B# A0/B0BBBc(eZdZfdZfdZdZy),_signature_fromstr..RewriteSymbolicsc~g}|}t|tjrB|j|j|j }t|tjrBt|tj st|j|jdjt|}|S)Nr3) r~rrrrrNamerr&rIreversed)r>rarOrrs rvisit_Attributez<_signature_fromstr..RewriteSymbolics.visit_AttributesAAQ . GGQ .a*  HHQTTNHHXa[)Ee$ $rct|jtjs t |j Sr)r~ctxrLoadrr&)r>rrs r visit_Namez7_signature_fromstr..RewriteSymbolics.visit_Names,dhh1 l"dgg& &rc|j|j}|j|j}t|tj rt|tj st t|jtjr,t j |j|jzSt|jtjr,t j |j|jz St|jtjr,t j |j|jzSt r) rleftrightr~rr ropAddrSubBitOr)r>rrrs r visit_BinOpz8_signature_fromstr..RewriteSymbolics.visit_BinOp s::dii(DJJtzz*EdCLL1E3<<9X  $''377+||DJJ$<==DGGSWW-||DJJ$<==DGGSYY/||DJJ$<== rN)rryr5rrr")rsrRewriteSymbolicsrs % ' rr#c |}|r4|tur, j|}tj|} j ||y#t$rt dj dwxYw)Nrrr)_emptyrr literal_evalrr)r) name_node default_noderrr#r#rr rrrs rpz_signature_fromstr..p s)$ L6 ]/177 E **<8 )D$ERS ] !E!L!LS!QRX\\ ]s +A%Br;rr)&_parameter_clsrrrrr~Modulerr)bodyrrrrrwrvrNodeTransformerr(rr r rchainrepeatPOSITIONAL_ONLYr[POSITIONAL_OR_KEYWORDvarargVAR_POSITIONAL KEYWORD_ONLYr kw_defaultsrS VAR_KEYWORDrarHr)rrrhrrrprogramrrrr*total_non_kw_argsrequired_non_kw_argsr rr_self self_isbound self_ismoduler#r#rr r rrrrs ` @@@@@@@@@r_signature_fromstrr?s""I&H&K#O^/)H4G7# fcjj )=DDSIJJ AAJ OOE FK#|T2Kd3  //Kkk&&(O 3..B,1TTAFF../#affkk2BB,s166??/CCy//6JKQVV__]H  $ $Dqvv118<w $=  * *Dqvv{{H5w $6 vv}}'' !&&--  ! !DQVV..0B0BC g $D vv||$$ !&&,,!Z.D(   ]n NN1 1 %%9+D+D%EAJqM zSYY 77 sM;; N  N c t|stdj|t|dd}|st dj|t ||||S)Nz%{!r} is not a Python builtin function__text_signature__z#no signature found for builtin {!r})rrr)rrr?)rrrrhs r_signature_from_builtinrBI sh ! &##)6$<1 1 *D1A >EEdKLL c4N ;;rc  d}t|s(t|rd}ntdj|t |dd}|rt ||||S|j }|j} | j} | j} | j} | d| } | j}| | | |z}t||||}|j}|j}|r t|}nd}g}| |z }| }| d|D]H}|rt nt"}|j%|t&}|j)|||||sD|dz}Jt+| |dD]O\}}|rt nt"}|j%|t&}|j)|||||| |sK|dz}Q| j,t.zr<| | |z}|j%|t&}|j)|||t0|D]U}t&}||j%|t&}|j%|t&}|j)|||t2| W| j,t4zrV| |z}| j,t.zr|dz }| |}|j%|t&}|j)|||t6|||j%d t&| S) NFTrUrArqrj)rr rD)rr rrr__validate_parameters__)rYrrr)rr?r,rrrco_posonlyargcountrr.rrr(rrrwr&rrGrrrrrr)rrrrrrsrtis_duck_functionrhr# func_code pos_count arg_names posonly_countr2keyword_only_count keyword_onlyr r r pos_default_countrnon_default_count posonly_leftrr roffsetrrss r_signature_from_functionrRY sM d  %d +# ;BB4HI I*D1A!#tQ??""I I%%I%%I00M:I&J"44Yy3E'EFL!$QYZK  H$$JMJ!$55 L--.#/5K __T62 )DZ)-/ 0  A L /"*->-?"@A #/5K __T62 )DZ)-,4V,<> ?  A LBJ&%778 __T62 )DZ)8: ;  ! nnT62G __T62 )DZ)6,35 6 N*..    * QJE __T62 )DZ)57 8 z!,6!B'7 99rct|r|Stt|dt}|tur|S|||t|S)Nr)rSrrr) descriptorrrws rrr sDz $z"Iy 9C i z3S **r)rrrrrsrtc b tjt||||||}t|st dj |t |tjr!||j}|r t|S|S|r0t|d}t |tjr||S |j}|s|} t |ttfst|r|}t |tr t|||}t |tst dj | |S |j"} t | tj$r|| j&} t)| | d}t+| j,j/d} | j0t2j4ur|St+|j,j/} | f| z}|j7|St9|s t;|rt=|||||| St?|rtA||| St |tjr||j&} t)| |St |tBr7tEtC|d }|||StE|d }tE|d }|jFD]F}|'d |jHvr||}|r t|}|cS|/d |jHvs>||cS|jFddD] } |jJ}|st|||cStB|jFvr|jLtNjLur1|jPtNjPur|jStNStUdj |tWtC|d d}|tY||}||StUdj |#t $rYwxYw#t $rY"wxYw#t $rYwxYw)N)rrrrrsrrtz{!r} is not a callable objectcRt|dxst|tjS)N __signature__)rr~rrrs rrz*_signature_from_callable.. s''!_*E+C#-a1A1A#B+Crr#z1unexpected object {!r} in __signature__ attributerrjr)rrrrsrt)r__call__rprr4z(no signature found for builtin type {!r}z+callable {!r} is not supported by signature)-rrrrrr)r~rrrrrhrWr$rr?r_partialmethod partialmethodrrrrrr r#r5rrYrrRrrBrrr"rvrArrrp from_callablerr4r)rrrrrrsrtr_get_signature_ofro_sigrZrfirst_wrapped_param sig_paramsrcallnewinitrtext_sigs rrr s#"))*B6K/=(/'-'-)1 3 C=7>>sCDD#u''(  - *3/ /JS!CE c5++ ,%S) ) ?EcIs#34#e#s#(c:c9- &u //J:**  mY%<%< =,M,>,>?K(mWMC"' (>(>(E(E(G"H"K "''9+C+CC "3>>#8#8#:; 23j@ {{j{99#4S9(7E07QY[ [S!&vs6DF F#y(()'1 %k377#t 2$s)ZH  $T* *0i@1#zBKKD9 #=',!1#6C !jDMM&A(.. KK$D F22.fdHEE!%* s{{ " / v~~-++F33 >EEcJLL d3iT:  "4-D$T* * BII#N OOA    (    ^"  s65 P7 P# P! P P PP! P.-P.c eZdZy)rNrr}rrrrs s;rrc eZdZy)r&Nrr}rrr&r&w s@rr&c,eZdZdZdZdZdZdZdZdZ y) _ParameterKindzpositional-onlyzpositional or keywordzvariadic positionalr3zvariadic keywordcxt|j}tj||}||_||_|Sr)r( __members__r rp_value_ description)rrkrmembers rrpz_ParameterKind.__new__ s4COO$S%(( rc|jSrr rs r__str__z_ParameterKind.__str__ s yyrN) rryr5r2r3r5r6r8rprnr}rrrgrg{ s&'O3*N!L$KrrgceZdZ dZeZeZeZ e Z e Z eZeeddZdZdZedZedZedZed Zeeeed d Zd Zd ZdZdZy)r#)_name_kind_default _annotationr%cd t||_|turJ|jtt fvr2d}|j |jj}t|||_||_ |tur tdt|ts/dj t|j}t||ddk(rw|ddjrd|jt k7r2d }|j |jj}t|t"|_d j |dd}t%|xr|jt"u}|s|j'std j |||_y#t$rtd|dwxYw) Nzvalue z is not a valid Parameter.kindz({} parameters cannot have default valuesz*name is a required attribute for Parameterzname must be a str, not a {}rjr3rDzLimplicit arguments must be passed as positional or keyword arguments, not {}z implicit{}z"{!r} is not a valid parameter name)rgrqrr&rrr)rkrrrsr~rrrrisdigitrrrk isidentifierrp)r>rr rrr is_keywords rrzParameter.__init__ s N'-DJ & zzo|<<@jj!7!78 o% % 6>IJ J$$077T 8K8KLCC. 7c>d12h..0 zz33>jj!7!78 o%)DJ&&tABx0Dt_K;K)K T..0AHHNO O M NvdX-KLM M Ns FF/cxt||j|jf|j|jdfS)Nrrrs)rrprqrrrsrs r __reduce__zParameter.__reduce__ s8T TZZ(!]] $ 0 023 3rc,|d|_|d|_y)Nrrrsryr>states r __setstate__zParameter.__setstate__ sj)  /rc|jSr)rprs rrzParameter.name zzrc|jSr)rrrs rrzParameter.default s }}rc|jSr)rsrs rrzParameter.annotation rc|jSr)rqrs rr zParameter.kind rr)rr rrc |tur |j}|tur |j}|tur |j}|tur |j}t |||||S)Nr%)rrprqrsrrr)r>rr rrs rrzParameter.replace s`9 5=::D 5=::D  ))J e mmGtDz$g*MMrc|j}|j}|jtur%dj |t |j}|j tur]|jtur&dj |t|j }n%dj |t|j }|tk(rd|z}|S|tk(rd|z}|S)Nz{}: {}z{} = {}z{}={}rr") r rprsr&r)r+rrrrr)r>r  formatteds rrnzParameter.__str__ syyJJ    6 )  '78H8H'IKI == &v-%,,YT]]8KL #NN9d4==6IJ ? "iI\ !y(IrcNdj|jj|S)Nz <{} "{}">r)r<rrs rrvzParameter.__repr__ s!!$.."9"94@@rcpt|j|j|j|jfSr)hashrprqrsrrrs r__hash__zParameter.__hash__# s(TZZT-=-=t}}MNNrc ||uryt|tstS|j|jk(xrO|j|jk(xr4|j |j k(xr|j |j k(SNT)r~r#NotImplementedrprqrrrsr>others r__eq__zParameter.__eq__& sv 5=%+! ! ekk)6 ekk)6 /6  E$5$55 7rN)rryr5r9rr2rr3rr5rr6rr8r&rrrzr~r rrrr rrrnrvrrr}rrr#r# s*>I.O4-N+L*K E.4)V3 0  $% %N$,AO7rr#cfeZdZ dZdZedZedZedZdZ dZ dZ d Z d Z y ) r )r _signature __weakref__c ||_||_yr)rr)r>rers rrzBoundArguments.__init__D s"#rc|jSr)rrs rrezBoundArguments.signatureH s rc|g}|jjjD]o\}}|jtt fvr t|S |j |}|jtk(r|j|_|j|qt|S#t$rYt|SwxYwr) rrrr rrrrextendrr_r)r>rrrrAs rrzBoundArguments.argsL s!%!;!;!A!A!C JzzlM:: T{ %nnZ0 ::0KK$KK$!"D$T{ T{ sB$$ B;:B;cZi}d}|jjjD]p\}}|s,|jtt fvrd}n||j vrd}4|s7 |j |}|jtk(r|j|l|||<r|S#t$rYwxYw)NFT) rrrr rrrupdater_)r>kwargskwargs_startedrrrAs rrzBoundArguments.kwargsc s!%!;!;!A!A!C J!::, !>>%)N!7)- ! -nnZ0::-MM#&*-F:&-"D0   s!B B*)B*c |j}g}|jjjD]\}} |j |||ft||_y#t $ra|j tur |j }n,|jturd}n|jturi}nY|j ||fYwxYw)Nr}) rrrrrr_rr&r rrr)r>r new_argumentsrrvals rapply_defaultszBoundArguments.apply_defaults s NN  ??55;;=KD% 2$$dIdO%<=>m, 2==.--CZZ?2CZZ</C$$dC[1 2sA$$AC8C Cc||uryt|tstS|j|jk(xr|j|jk(Sr)r~r rrerrs rrzBoundArguments.__eq__ sF 5=%0! !%//12%//1 3rc,|d|_|d|_y)Nrrrrr|s rr~zBoundArguments.__setstate__ s -{+rc4|j|jdS)Nrrrs r __getstate__zBoundArguments.__getstate__ s"ooDNNKKrcg}|jjD]&\}}|jdj||(dj|jj dj |S)Nz{}={!r}z <{} ({})>r+)rrrr)r<rrI)r>rrArs rrvzBoundArguments.__repr__ s`....0JC KK ((e4 51!!$.."9"9499T?KKrN)rryr5r9rr rerrrrr~rrvr}rrr r 1 sj ;I$,:-83,LLrr ceZdZ dZeZeZeZ dedddZ e ddddddZ e d Ze d Zeed d Zd ZdZdZdddZdZdZdZdZdZdZy)r$)_return_annotation _parametersNTrDc | t}n|rt}t}d}|D]}|j}|j} ||kr3d} | j |j |j } t | ||kDr|}|ttfvr#|jtur|rd} t | d}| |vrdj | } t | ||| <ntd|D}tj||_ ||_ y)NFz7wrong parameter order: {} parameter before {} parameterz-non-default argument follows default argumentTzduplicate parameter name: {!r}c38K|]}|j|fywrr rrs rr z%Signature.__init__.. s$QjUejj%%8js)rnrr rr)rkrrrr&rMappingProxyTyperr) r>rrrErtop_kind seen_defaultrr rrs rrzSignature.__init__ s    ]F&$+$ 'E ::D ::Dh("jj)=)=)-)9)9;(o-#' 02HII ==F2+'1&0o 5,0Lv~>EEdK(o-#(F4L?(B%$Qj$QQ 11&9"3rFfollow_wrappedrrrsrtc& t||||||S)N)rrrrrsrt)r)rrrrrrsrts rr[zSignature.from_callable s& B'C>L07QY[ [rc|jSr)rrs rrzSignature.parameters rrc|jSrrrs rrzSignature.return_annotation s&&&r)rrc |tur|jj}|tur |j}t |||S)Nr+)rrrrr)r>rrs rrzSignature.replace sO  //1J  % $ 7 7 tDz*,=? ?rctd|jjD}|jjDcic]"}|jtk(r |j |$}}|||j fScc}w)Nc3FK|]}|jtk7r|ywr)r rrs rr z(Signature._hash_basis..% s$=*B % m ;*Bs!)rrrr rrr)r>rr kwo_paramss r _hash_basiszSignature._hash_basis$ s=$//*@*@*B==6:__5K5K5MH5ME+0::+Fjj%'5M Hz4#9#999Hs'A?cx|j\}}}t|j}t|||fSr)r frozensetrr)r>rrrs rrzSignature.__hash__- s>040@0@0B- -z0023 VZ):;<. s&)A"JJ)Asz*got an unexpected keyword argument {arg!r})rrrrr rrrrrrrrr) StopIterationrrr&rr0rHr_rI_bound_arguments_cls)r>rrrrr parameters_exarg_valspos_only_param_in_kwargsarg_valrrrr kwargs_paramrs r_bindzSignature._bind9 sz1 $//0023  :#% G 4x.Z4 ,EzzlM%BB(;=BFGzz_4#* h/05f %**-zzV+ >N0N'BII$)JJJ016:;-4Iejj)U\ __]J?Ezz\)$ zz_,J 0 **Z0)0 *%5@8 '/5 ,++,)117 II&)A&282 @GG f.H011((y99W%O#$CD$NO]!) ;'; ,E zz_4v- ::)995;;EB$). ** 405 V0K*/ #-2HM!$zz]:*9*,"QC"%**W*"MC"+C.d:K% ) ;r F  EJJ/$A49MMV4K#$J$*FzF$:2L3L9(L$L,AL/ K=8L<K==LA MMc( |j||Srrr>rrs rbindzSignature.bind s zz$''rc, |j||dS)NTrrrs rrzSignature.bind_partial s zz$z55rczt|t|jjfd|jifSNr)rrrrrrs rrzzSignature.__reduce__ s=T t''..013%t'>'>?A Arc|d|_yrrr|s rr~zSignature.__setstate__ s"'(<"=rcNdj|jj|S)Nz<{} {}>rrs rrvzSignature.__repr__ s 7 7>>rcg}d}d}|jjD]u}t|}|j}|tk(rd}n|r|j dd}|t k(rd}n|tk(r|r|j dd}|j |w|r|j ddjdj|}|jtur)t|j}|dj|z }|S)NFT/rz({})r+z -> {}) rrrr rrrrr)rIrr&r+) r>rrender_pos_only_separatorrender_kw_only_separatorrrr renderedannos rrnzSignature.__str__ s$)!#' __++-EE I::D'',0)* c",1)&,1(&+C c",1( MM) $5.8 % MM# ==6!23  ! ! /#D$:$:;D - -Hrr)rryr5r9r#r,r rr&rrrr[r rrrrrrrrrrrzr~rvrnr}rrr$r$ s,6IN) E24V)-24h%)4u[[  ''%*U ?:= 9.3I:V(6A >?+rr$rc8 tj|||||S)Nr)r$r[)rrrrrsrts rrere s*9  " "3~+26H # VVrceZdZdZdZdZdZdezZdezZdezZ dezZ d ezZ eezZ eZ eezZeZeezezZeezZe ezezZe ezZd Zd Zy ) r rjrD @iN)rryr5SIMPLEWRITABLEFORMATNDSTRIDES C_CONTIGUOUS F_CONTIGUOUSANY_CONTIGUOUSINDIRECTCONTIG CONTIG_ROSTRIDED STRIDED_RORECORDS RECORDS_ROFULLFULL_ROREADWRITEr}rrr r  s FH F BRiG'>L'>LG^NwH (]FI GJ 6)G6!J h  'DG D Err c" ddl}ddl}|j}|jdd|jdddd |j }|j }|j d \}}} |j|x}} |r&|j!d}  }| D]} t#|| } jtj$vr0tdtj tjd|j&rtdj|tdjt)| tdj| j*| ur^tdjt-| j.t1| drNtdj| j2n) t5|\}}tdj|tdytt7y#t$ra} d j|t| j| } t| tj tjd Yd} ~ d} ~ wwxYw#t$rYwxYw)NrjrzCThe object to be analysed. It supports the 'module:qualname' syntax)helpz-dz --details store_truez9Display info about the module rather than its source code)actionr:zFailed to import {} ({}: {}))rrr3z#Can't get info for builtin modules.rDz Target: {}z Origin: {}z Cached: {}z Loader: {}__path__zSubmodule search path: {}zLine: {}rC)argparser\ArgumentParser add_argument parse_argsr partition import_modulerr)rrprintrstderrexitr6rbuiltin_module_namesdetailsrK __cached__rrlrrr*rJ)rr\parserrtargetmod_name has_attrsattrsrrrrpartspart__rs r_mainr' s-@  $ $ &F 9:  k, HJ    D [[F!'!1!1#!6Hi.y..x88f C D#t$C#222 3#**E   || l!!&)* l!!-"789 l!!&"3"345 &= ,%%d6+<+<&=> ?vz*188IJ 1'_ Fj''/0 d  inG ,33H48I4F4F479 c #  8  s+4H J I?AI::I? J JrRr)F)rD)r})T)TNNF) __author____all__rrrcollections.abcrenumimportlib.machineryr\rrurYrrrrrrr~keywordrkoperatorrlrmrnweakrefrorrrmod_dictCOMPILER_FLAG_NAMESrrrr%r.rarSr^r_rWrr]r\rYrr[rrrrdrVrPrOrZrUrQrcrXrTrRr`rbrNrrDrErr'rHrhrMr7r@r<r(r=rGrKr/rrrFrr NodeVisitorrr*r9rr r5rLrJrir7rr0rr?rr1r+r,rr-r9rEr6rr8rir&rr|r>rC_fieldsrrrIrBr)rfrgrrrvrrrrr lru_cacherrr4r r!r"rrAr@r rrr r;r:rrrrr3r2WrapperDescriptorTyperrrrrrrrrrr?rBrRrrrr&IntEnumrgr2rr3rr5rr6rr8rr#r r$reIntFlagr rrr}rrr!s7@9 i X    /' 9  # # ) ) +DAqHUQY ,q(%)vt0$0A( ? 5()> 5()> 2 ,-XJ I383"3;3 /.297(0(T3 : {$E F ph @0 <|& :,8 28 ,^ ) 3??>B0H+%Z"!44l$&0*+6 {$: ; 86MO Z ?9 ""9 8 ? (.7 D*:x(LM 14j &S T  - -7O)AV  j93D3D&D E  @ @  C5' H y)11 MM*5==4$ '0/h    $&  ! $   ! $."77!33!;;!557 $I?X*4 *G2/+dK8\ < 8