a0bi8SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKr/SQr Sr \ r \ "5r\4Sjr\R S:aSrO\R S:aSrOS rSS jr\R&r\R("S 5r\R("S 5r\R("S 5r\R("SSS9r\R("SSS9r\R S:aSSKJr O"SS\ 5r"SS\S9r\R8r\"\S5(a \R SSS:a \R<rO"SS\R>SS9r \ "SSS 9r\R S:a \RBr!OS!r!S"r"\"\S#5(a \RFr#O"S$S%\R>SS9r$\$"S#S&S 9r#\RJr%\"\S'5(a%\RLr&\RNr'\RPr(O6\RR"\RT"\RR\+55r,S(r&S)r'S*r(\RZr-\R\r.\R^r/\R`r0\Rbr1\Rdr2\Rfr3\Rhr4\Rjr5\"\S+5(a \Rlr6O\Rn"\Rl\\45r6\Rpr8\Rrr9\Rtr:\Rvr;\Rxr<\Rzr=/S,Qr>S-r?S.r@S/rA\"\S05(a \RrBO!S1rC"S2S3\R5rE"S4S0\ES9rB\"\S55(a \RrFOS6rF\FrG\"\S75(a \RrHO\F"S8S7\B55rH\"\S95(a%\RrI\RrJ\RrKObS:rLS;rMS<\MlNSS=.S>jrOS?\OlN"S@SA\ 5rJ\J"SB\+405rI\P\IlQSC\IlR\"\SA5(a\R\J4rSO\J4rSSDrK\"\SE5(a \RrTOSFrT\"\S95(a \RrUOSSKrSSKrSGrVSSIjrU\"\SJ5(a\RrW\RrXO"SKSL\RSS9rX"SMSJ5rW\R SSS:a\RrZ\Rr[OSSNKJ\r\ SSOKJ^r_ SPrZSQr[\"\SR5(a \Rr`OK\R SSS:a"SSST\R>SS9ra\aSU5r`O"SVST\R>SS9ra\a"SRSWS 9r`"SXSY5rb"SZS[\R(\bSS9r\"\S\5(a\Rrc\RrdO "S]S^5re"S_S\\e5rc"S`Sa\e5rd\"\Sb5(a"ScSb\R\bSS9rfO "SdSb\g\b5rf\"\Se5(d "SfSg\g5rh\RSh5rj\"\Se5(a\Rrk\RrhO7\R SSS:a \aSi5rkO"SjSk\R>SS9rl\l"SeSlS 9rk\"\Sm5(a \RrmOK\R SSS:a"SnSo\R>SS9rn\nSp5rmO"SqSo\R>SS9rn\n"SmSrS 9rm"SsSt\RSS9r\"\Su5(a \RrpO\Sv5rp\"\Sw5(a \RrqO\Sx5rq\"\Sy5(a \RrrO\Sz5rr\"\S95(a\Rrs\RrtOZ\R SSS:a%"S{S|\R>SS9ru\uS}5rs\uS~5rtO""SS\R>SS9rv\v"S9SS 9rs\v"SSS 9rt\"\S5(a \RrwOy\R SSS:a4"SS\R>SS9rx"SS\RSS9ry\xS5rwSrzO2"SS\RSS9ry"SS\R>SS9r{\{"SSS 9rwSrz\"\S5(a"SS\R\bSS9r|O "SS\b5r|\"\S5(a \Rr}O S\S\4Sjr}\"\S5(a \Rr~O S\rS\r4Sjr~\"\S5(a \RrOSSHSHSS.S\S\S\S\GR\GR\RZ\R4\GRS\R444S4S\R4S\GR\/\44 Sjjr\"\S5(a\GRrO4\R("S\GRS\R44S9rS\S\4Sjr\"\S5(d\\l\\l\R S:a\GR rgSrSSjr\GRr\"1Sk5r"SS\ 5rSSjr\GR R\lR\ GR\SS05r\R S:aS\lNSr\\lg!\]a \Rr\GNf=f!\]a \Rr_GNf=f)N)8AnyClassVar ConcatenateFinal LiteralString ParamSpec ParamSpecArgsParamSpecKwargsSelfTypeTypeVar TypeVarTupleUnpack Awaitable AsyncIterator AsyncIterable CoroutineAsyncGeneratorAsyncContextManagerChainMapContextManagerCounterDeque DefaultDict NamedTuple OrderedDict TypedDict SupportsIndex Annotated assert_never assert_typeclear_overloadsdataclass_transform get_overloadsfinalget_args get_originget_type_hintsIntVar is_typeddictLiteralNewTypeoverloadoverrideProtocol reveal_typeruntimeruntime_checkableText TypeAlias TypeGuard TYPE_CHECKINGNeverNoReturnRequired NotRequiredTc U(d[US35eU[LaE[US5(aUR(d[US35e[ UR5n[ U5nX2:wa~[US5(aOURVs/sHn[ U5(aMUPM nn[ SU55nUS:a X2U- :ag[SX2:aSOSS US US U35egs snf) zCheck correct count for parameters of a generic cls (internal helper). This gives a nice error message in case of count mismatch. z is not a generic class__parameters__c3B# UHn[U[5v M g7fN) isinstancer.0ps ڠ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pkg_resources/_vendor/typing_extensions.py !_check_generic..gsPZ 1l ; ;ZrNzToo manyfewz parameters for z ; actual z , expected ) TypeError_markerhasattrr<len _is_unpacksum)cls parameterselenalenrB num_tv_tupless rC_check_genericrTYs 3%6788 ws,--S5G5Gse#:;< <3%%& z?D | 3( ) )%(%7%7M%7z!}!%7JMPZPPM!}0D(D$v%@@PQTPUV##'& D6;< < Ms C3+C3) ct[U[R[R[R 45$r>)r?typing _GenericAlias_types GenericAlias UnionTypets rC_should_collect_from_parametersr_os- $$f&9&96;K;KL  rU cV[U[R[R45$r>)r?rXrYrZr[r]s rCr_r_ts !f22F4G4GHIIr`cf[U[R5=(a UR(+$r>)r?rXrY_specialr]s rCr_r_ws !V112E1::~Er`cTUc[Rn/nUH~n[X15(a&X2;a![U5(dUR U5 [ U5(dMKUR URVs/sH o3U;dM UPM sn5 M [U5$s snf)zCollect all type variable contained in types in order of first appearance (lexicographic order). For example:: _collect_type_vars((T, List[S, T])) == (T, S) ) rXr r?rMappendr_extendr<tuple)types typevar_typestvarsr^s rC_collect_type_varsrm{s  E  q ( ( N1 LLO *1 - - LLQ%5%5H%5%!%5H I <Is < B% B% TKTVTT_co) covariantT_contra) contravariant)rU )rc4^\rSrSrU4SjrU4SjrSrU=r$)_AnyMetacJ>U[La [S5e[TU] U5$)Nz6typing_extensions.Any cannot be used with isinstance())rrIsuper__instancecheck__)selfobj __class__s rCr{_AnyMeta.__instancecheck__s&s{ XYY7,S1 1r`c4>U[Lag[TU] 5$)Nztyping_extensions.Any)rrz__repr__)r|r~s rCr_AnyMeta.__repr__ss{.7#% %r`)__name__ __module__ __qualname____firstlineno__r{r__static_attributes__ __classcell__r~s@rCrwrws 2  & &r`rwc,^\rSrSrSrU4SjrSrU=r$)ra9Special type indicating an unconstrained type. - Any is compatible with every type. - Any assumed to have all methods. - All values assumed to be instances of Any. Note that all the above statements are true from the point of view of static type checkers. At runtime, Any should not be used with instance checks. cT>U[La [S5e[TU] "U/UQ70UD6$)NzAny cannot be instantiated)rrIrz__new__)rOargskwargsr~s rCr Any.__new__s/cz <==7?3888 8r`r)rrrr__doc__rrrrs@rCrrs  9 9r`r) metaclassr)rUc \rSrSrSrSrSrg) _FinalFormc SUR-$Nztyping_extensions._namer|s rCr_FinalForm.__repr__'$**4 4r`cx[R"UURS35n[R"X45$N accepts only a single type.rX _type_checkrrYr|rPitems rC __getitem___FinalForm.__getitem__7%%j)- 4P&QSD''g6 6r`rNrrrrrrrrr`rCrr  5 7r`r)_rootaWA special typing construct to indicate that a name cannot be re-assigned or overridden in a subclass. For example: MAX_SIZE: Final = 9000 MAX_SIZE += 1 # Error reported by type checker class Connection: TIMEOUT: Final[int] = 10 class FastConnector(Connection): TIMEOUT = 1 # Error reported by type checker There is no runtime checking of these properties.)doccDSUlU$![[4a U$f=f)ahThis decorator can be used to indicate to type checkers that the decorated method cannot be overridden, and decorated class cannot be subclassed. For example: class Base: @final def done(self) -> None: ... class Sub(Base): def done(self) -> None: # Error reported by type checker ... @final class Leaf: ... class Other(Leaf): # Error reported by type checker ... There is no runtime checking of these properties. The decorator sets the ``__final__`` attribute to ``True`` on the decorated object to allow runtime introspection. T) __final__AttributeErrorrI)fs rCr%r%s5, AK   *    s  c.[R"U5$r>)rXr )names rCr)r)s >>$ r`r+c \rSrSrSrSrSrg) _LiteralFormi c SUR-$rrrs rCr_LiteralForm.__repr__ rr`c.[R"X5$r>)rXrYr|rPs rCr_LiteralForm.__getitem__s''9 9r`rNrrr`rCrr s  5 :r`raoA type that can be used to indicate to type checkers that the corresponding value has a value literally equivalent to the provided parameter. For example: var: Literal[4] = 4 The type checker understands that 'var' is literally equal to the value 4 and no other value. Literal[...] cannot be subclassed. There is no runtime checking verifying that the parameter is actually a value instead of a type.r$c[USU5nU[URURURR '[$![ a [$f=f)aDecorator for overloaded functions/methods. In a stub file, place two or more stub definitions for the same function in a row, each decorated with @overload. For example: @overload def utf8(value: None) -> None: ... @overload def utf8(value: bytes) -> bytes: ... @overload def utf8(value: str) -> bytes: ... In a non-stub file (i.e. a regular .py file), do the same but follow it with an implementation. The implementation should *not* be decorated with @overload. For example: @overload def utf8(value: None) -> None: ... @overload def utf8(value: bytes) -> bytes: ... @overload def utf8(value: str) -> bytes: ... def utf8(value): # implementation goes here The overloads for a function can be retrieved at runtime using the get_overloads() function. __func__)getattr_overload_registryrr__code__co_firstlinenor_overload_dummy)funcrs rCr-r--sg< D*d +  q|| ,Q^^ < ))     s7A AAc[USU5nUR[;a/$[URnURU;a/$[ X!RR 55$)z6Return all defined overloads for *func* as a sequence.r)rrrrlistvalues)rrmod_dicts rCr$r$Us^ D*d + <<1 1I%all3 >> )IH^^,33566r`c,[R5 g)z$Clear all overloads in the registry.N)rclearrr`rCr"r"`s  "r`r) CallablerIterableIteratorrrHashableSized Container Collection Reversiblerrcn[5nURSSHnURS;aM[US05n[ UR R 55[ UR 55-H4nURS5(aMUS;dM#URU5 M6 M U$)N)r/Generic__annotations___abc_)__abstractmethods__r __weakref__ _is_protocol_is_runtime_protocol__dict____args__ __slots____next_in_mro__r< __origin____orig_bases__ __extra__ __tree_hash__r__subclasshook____init__rr_MutableMapping__marker_gorg) set__mro__rrrrkeys startswithadd)rOattrsbase annotationsattrs rC_get_protocol_attrsrs EE CR  ==3 3 d$5r: ++-.k6F6F6H1IIDOOG,,>F2F $J ! Lr`c@^[U4Sj[T555$)Nc3P># UHn[[TUS55v M g7fr>)callabler)rArrOs rCrD,_is_callable_members_only..s$W>VdxT4011>Vs#&)allrrOs`rC_is_callable_members_onlyrs W>QRU>VW WWr`c |^/nSUR;Ga[R"UR5nSnURHzn[ U[R 5(dM$UR [R[4;dMJUR RnUb [S5eURnM| UcUnOf[U5n[U5mUT::dHSRU4SjU55nSRSU55n[SUSWS US 35eUn[U5Ul g) zHelper function used in Protocol.__init_subclass__ and _TypedDictMeta.__new__. The contents of this function are very similar to logic found in typing.Generic.__init_subclass__ on the CPython main branch. rNzECannot inherit from Generic[...] and/or Protocol[...] multiple types., c3H># UHoT;dM [U5v M g7fr>str)rAr^gvarsets rCrD+_maybe_adjust_parameters..s"M5aWr)rAgs rCrDrs"95a3q665zSome type variables (z) are not listed in [])rrXrmrr?rYrrr/rrIr<rjoinri) rOrlgvarsrthe_basetvarsets_varss_argsrs @rC_maybe_adjust_parametersr s0 E3<<'))#*<*<= &&D4!5!566OO'AA??33$#@AA++' =E%jG%jGg%"M5"MM"95"99"7x@22:1VHA!GHHEuCr`r/cN[U5R(a [S5eg)Nz Protocols cannot be instantiated)typerrIr|rrs rC_no_initr s : " ">? ? #r`c(^\rSrSrU4SjrSrU=r$) _ProtocolMetaic>^^[TSS5(a[T5(a[TRT5(agTR(a%[ UU4Sj[ T555(ag[TT]!T5$)NrFTc3># UHHn[TU5=(a0 [[TUS55(+=(d [TU5SLv MJ g7fr>)rKrr)rArrOinstances rCrD2_ProtocolMeta.__instancecheck__..sU=$<4x.=$WS$%=>><$/t;=$ int: ... Such classes are primarily used with static type checkers that recognize structural subtyping (static duck-typing), for example:: class C: def meth(self) -> int: return 0 def func(x: Proto) -> int: return x.meth() func(C()) # Passes static type check See PEP 544 for details. Protocol classes decorated with @typing_extensions.runtime act as simple-minded runtime protocol that checks only the presence of given attributes, ignoring their type signatures. Protocol classes can be generic, they are defined as:: class GenProto(Protocol[T]): def meth(self) -> T: ... rTcJ>U[La [S5e[TU] U5$)NzIType Protocol cannot be instantiated; it can only be used as a base class)r/rIrzr)rOrkwdsr~s rCrProtocol.__new__s.h!FGG7?3' 'r`c^[U[5(dU4nU(d,U[RLa[ SUR S35eSm[U4SjU55nU[ La[SU55(daSn[X[R5(a(US- n[X[R5(aM([ SUS-S X35e[[U55[U5:wa [ S 5eO[X[UR55 [R"X5$) NzParameter list to z[...] cannot be emptyz*Parameters to generic types must be types.c3R># UHn[R"UT5v M g7fr>rXrrArBmsgs rCrD-Protocol.__class_getitem__..s!Fv!6--a55v$'c3V# UHn[U[R5v M! g7fr>)r?rXr r@s rCrDrsI&Q:a88&')rzBParameters to Protocol[...] must all be type variables. Parameter z is z.Parameters to Protocol[...] must all be unique)r?rirXTuplerIrr/rr rLrrTr<rY)rOparamsirs @rC__class_getitem__Protocol.__class_getitem__s)fe,, c5()9)9(::OPRR>CFvFFFhI&IIIA$VY??Q%VY??#&&'!eWD =>>s6{#s6{2#HJJ3 sC0B0B,CD''4 4r`c^STR;a[RTR;nO[RTR;nU(a [ S5e[ T5 TRRSS5(d![STR55Tl U4SjnSTR;aUTl TR(dgTRHnU[[R4;aMURS:XaUR[;aME[U[ 5(aUR(aMm[ S[#U535e [$Tlg) Nrz!Cannot inherit from plain Genericrc30# UH o[Lv M g7fr>)r/)rAbs rCrD-Protocol.__init_subclass__..3s&LmH}msc&>TRRSS5(d[$[TSS5(d8[R "S5R SS;a[$[S5e[T5(d8[R "S5R SS;a[$[S5e[U[5(d [S 5e[T5HnURHnXR;aURUc [s s $ M>[US 05n[U[R5(dM]X;dMd[U[5(dM{UR (dM M [s $ g ) NrrFrr)abc functoolszBInstance and class checks can only be used with @runtime protocolsz._proto_hook6sO||''==))s$:EBB}}Q'11*=AUU--#%:;;055}}Q'11*=AUU--#%BCC!%..#$HII/4D % ==0#}}T2:'5 5!&-d4Er&J &{FNNCC $ 3 *5- @ @ % 2 2 2!!. .-5r`rzcollections.abcz5Protocols can only inherit from other protocols, got )rrXrr __bases__rIr r0anyrrobjectrr_PROTO_WHITELISTr?rreprr r)rOrrerrorr7rs` rC__init_subclass__Protocol.__init_subclass__(s$3<</#*<*<<#--7 CDD $S )<<##ND99#&&Lcmm&L#L  >"5'2$##  88+<< )99"477Drrs rC __index__SupportsIndex.__index__s r`N) rrrrrr.abstractmethodintrFrrr`rCrrs&   s   r`r9c[R"S5RSS;a [S5eg![[ 4a gf=f)Nr#r)r.r/rXz4TypedDict does not support instance and class checksF)r2r3r4rIr ValueError)rOr6s rC _check_failsrLs_ }}Q))*5>HH VWW H +   s26A A cNU(d [S5eUSUSSp[U0UD6$)N)TypedDict.__new__(): not enough argumentsrr#)rIdict)rr_s rC _dict_newrQs2GH Hq'484T$V$$r`z,($cls, _typename, _fields=None, /, **kwargs)totalcU(d [S5eUSUSSpU(a USUSSpOF ,- - f . "}}Q/99==j*UB| hB<<3 .!<[TU]XU5 gr>)rzr)rOrbasesr`rSr~s rCr_TypedDictMeta.__init__s G T" -r`c >US:Xa[O[US'[TU] X[4U5n[ SU55(a&[ R[4Ul[U5 0nURS05nSnUR5V V s0sHupU [ R"X5_M nn n [5n [5n UHn URU RRS055 U RU RRSS55 U RU RRSS55 M URU5 UR5Hup[!U5nU["La"[%U5nU(aUS n[!U5nU[&LaU R)U5 MWU[*LaU R)U5 MsU(aU R)U5 MU R)U5 M Xel[/U 5Ul[/U 5Ul[5US 5(dXElU$s sn n f) Nrrc3V# UHn[U[R5v M! g7fr>)rrXrrArs rCrD)_TypedDictMeta.__new__..sF:dFNN33r"rz?TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type__required_keys__r__optional_keys__r __total__)rarQrzrrOr:rXrr9r r0itemsrrupdaterr'rr&r9rr:r frozensetrjrkrKrl)rOrrdr`rStp_dictrown_annotationsrntp required_keys optional_keysrannotation_keyannotation_typeannotation_originannotation_argsr~s rCr_TypedDictMeta.__new__s /3k.ANyByM goc$"=GFFFF%+^^T$:!(1K ff%6;OSC True is_typeddict(Union[list, str]) # => False )r?ri_TYPEDDICT_TYPESrss rCr*r*?s"e$4566r`r!cU$)aAssert (to the type checker) that the value is of the given type. When the type checker encounters a call to assert_type(), it emits an error if the value is not of the specified type:: def greet(name: str) -> None: assert_type(name, str) # ok assert_type(name, int) # type checker error At runtime this returns the first argument unchanged and otherwise does nothing. r)__val__typs rCr!r!Qs  r`c[U[5(a[UR5$[ US5(a2UR[ [ 4;a[URS5$[U[R5(a>[SUR55nXR:XaU$URU5$[ [S5(am[U[R5(aN[SUR55nXR:XaU$[R"URU5$[ [S5(aq[U[R5(aR[SUR55nXR:XaU$[R "["R$U5$U$)z=Strips Annotated, Required and NotRequired from a given type.rrc38# UHn[U5v M g7fr> _strip_extrasrAas rCrD _strip_extras..o!GJq-"2"2Jrr[c38# UHn[U5v M g7fr>rrs rCrDrtrrr\c38# UHn[U5v M g7fr>rrs rCrDryrr)r?_AnnotatedAliasrrrKr9r:rrXrYri copy_withrjr[r\r/reduceoperatoror_)r^ stripped_argss rCrrhsH a ) ) . . 1l # # ;8O(O A/ / a-- . .!!GAJJ!GGM *;;}- - 5. ) )jE[U[5(aURU-nURn[TU]X5 X lgr>)r?r __metadata__rrzr)r|originmetadatar~s rCr_AnnotatedAlias.__init__s>&/22!..9** G V , ( r`cX[U5S:XdeUSn[X R5$)Nr#r)rLrr)r|r%new_types rCr_AnnotatedAlias.copy_withs.v;!# ##ayH"8->->? ?r`cS[R"UR5SSRSUR55S3$)Nztyping_extensions.Annotated[rc38# UHn[U5v M g7fr>)r=rs rCrD+_AnnotatedAlias.__repr__..s D2CQa2Crr)rX _type_reprrrrrs rCr_AnnotatedAlias.__repr__sE263D3DT__3U2VVXyy D$2C2C DDEQH Ir`cb[R[UR4UR-44$r>)rgetitemrrrrs rC __reduce___AnnotatedAlias.__reduce__s1##DOO-0A0AA& r`c[U[5(d[$URUR:wagURUR:H$)NF)r?rr1rrr|r6s rC__eq___AnnotatedAlias.__eq__sAe_55%%%"2"22$$(:(:: :r`cD[URUR45$r>)hashrrrs rC__hash___AnnotatedAlias.__hash__s$*;*;<= =r`)r) rrrrrrrrrrrrrrs@rCrrs-  ) @  I   ; > >r`rcL\rSrSrSrSrSr\RS5r Sr Sr g)riaAdd context specific metadata to a type. Example: Annotated[int, runtime_check.Unsigned] indicates to the hypothetical runtime_check module that this type is an unsigned int. Every other consumer of this type can ignore this metadata and treat this type as int. The first argument to Annotated must be a valid type (and will be in the __origin__ field), the remaining arguments are kept as a tuple in the __extra__ field. Details: - It's an error to call `Annotated` with less than two arguments. - Nested Annotated are flattened:: Annotated[Annotated[T, Ann1, Ann2], Ann3] == Annotated[T, Ann1, Ann2, Ann3] - Instantiating an annotated type is equivalent to instantiating the underlying type:: Annotated[C, Ann1](5) == C(5) - Annotated can be used as a generic type alias:: Optimized = Annotated[T, runtime.Optimize()] Optimized[int] == Annotated[int, runtime.Optimize()] OptimizedList = Annotated[List[T], runtime.Optimize()] OptimizedList[int] == Annotated[List[int], runtime.Optimize()] rc[S5e)Nz&Type Annotated cannot be instantiated.rIrOrrs rCrAnnotated.__new__sDE Er`c[U[5(a[U5S:a [S5e[[ 4n[ US5U;aUSnOSn[R"USU5n[USS5n[X55$)NrzUAnnotated[...] should be used with at least two arguments (a type and an annotation).rz$Annotated[t, ...]: t must be a type.r#) r?rirLrIrrr'rXrr)rOr%allowed_special_formsrrrs rCr'Annotated.__class_getitem__sfe,,F a!/00&.u$5 !&)$(==<++F1Is;VABZ(H"64 4r`c4[SURS35e)NCannot subclass z .Annotated)rIrrs rCr?Annotated.__init_subclass__s "3>>"2*= r`N) rrrrrrrrXrAr'r?rrr`rCrrs4 @  F    5  5 r`)_BaseGenericAlias)r[c[U[5(a[$[U[R[ [ [[45(a UR$U[RLa[R$g)aGet the unsubscripted version of a type. This supports generic types, Callable, Tuple, Union, Literal, Final, ClassVar and Annotated. Return None for unsupported types. Examples:: get_origin(Literal[42]) is Literal get_origin(int) is None get_origin(ClassVar[int]) is ClassVar get_origin(Generic) is Generic get_origin(Generic[T]) is Generic get_origin(Union[T, int]) is Union get_origin(List[Tuple[T, T]][int]) == list get_origin(P.args) is P N) r?rrrXrY_typing_GenericAliasrr r rrr~s rCr'r''sa b/ * *  b6//1EGX(/; < <==  >> !r`cx[U[5(aUR4UR-$[U[R [ 45(af[USS5(agURn[U5[RRLaUS[La[USS5US4nU$g)aGet type arguments with all substitutions performed. For unions, basic simplifications used by Union constructor are performed. Examples:: get_args(Dict[str, int]) == (str, int) get_args(int) == () get_args(Union[int, Union[T, int], str][int]) == (int, str) get_args(Union[int, Tuple[T, int]][str]) == (int, Tuple[str, int]) get_args(Callable[[], T][int]) == ([], int) reFrrNr)r?rrrrXrYrrrr' collectionsr.rEllipsisr)rsress rCr&r&?s b/ * *MM#boo5 5 b6//1EF G Gr:u--++C"~!9!99c!fH>TCH~s2w/Jr`r4c\rSrSrSrSrg)_TypeAliasFormi[c SUR-$rrrs rCr_TypeAliasForm.__repr__\rr`rNrrrrrrrr`rCrr[ 5r`rc[US35e)zSpecial marker indicating that an assignment should be recognized as a proper type alias definition by type checkers. For example:: Predicate: TypeAlias = Callable[..., bool] It's invalid when used anywhere except as in the example above.  is not subscriptablerrs rCr4r4_s4& 5677r`c\rSrSrSrSrg)rinc SUR-$rrrs rCrrorr`rNrrr`rCrrnrr`aSpecial marker indicating that an assignment should be recognized as a proper type alias definition by type checkers. For example:: Predicate: TypeAlias = Callable[..., bool] It's invalid when used anywhere except as in the example above.c"\rSrSrSrSrSrSrg) _DefaultMixinizMixin for TypeVarLike defaults.rc[U[[45(a[SU55UlgU(a[R "US5UlgSUlg)Nc3P# UHn[R"US5v M g7f)Default must be a typeNr)rAds rCrD)_DefaultMixin.__init__..s(&8/6!'-&8&8[T U]"U/UQ7X#US.6 [RX5 X`l[R "S5R RSS5nUS:waXl gg![[4a SnN"f=fN)rrrrtr#rrXtyping_extensions) rzrr__infer_variance__r2r3r4r0rrKr) r|rrrrrtrr constraintsdef_modr~s rCrTypeVar.__init__s  6  65'4 6t-"0 mmA&0044ZLG ) )%O * + G s0A11BB)rrrrrrrrrrrs@rCr r s"J15 e&&r`r r c(\rSrSrSrSrSrSrSrg) _Immutableiz3Mixin to indicate that object should not be copied.rcU$r>rrs rC__copy___Immutable.__copy__Kr`cU$r>r)r|memos rC __deepcopy___Immutable.__deepcopy__rr`N) rrrrrrrrrrr`rCrrsA   r`rc*\rSrSrSrSrSrSrSrg)r ia!The args for a ParamSpec object. Given a ParamSpec object P, P.args is an instance of ParamSpecArgs. ParamSpecArgs objects have a reference back to their ParamSpec: P.args.__origin__ is P This type is meant for runtime introspection and has no special meaning to static type checkers. cXlgr>rr|rs rCrParamSpecArgs.__init__$Or`c4URRS3$)Nz.argsrrrs rCrParamSpecArgs.__repr__soo../u5 5r`cj[U[5(d[$URUR:H$r>)r?r r1rrs rCrParamSpecArgs.__eq__s*e]33%%??e&6&66 6r`rN rrrrrrrrrrr`rCr r s  % 6 7r`c*\rSrSrSrSrSrSrSrg)r ia+The kwargs for a ParamSpec object. Given a ParamSpec object P, P.kwargs is an instance of ParamSpecKwargs. ParamSpecKwargs objects have a reference back to their ParamSpec: P.kwargs.__origin__ is P This type is meant for runtime introspection and has no special meaning to static type checkers. cXlgr>rrs rCrParamSpecKwargs.__init__rr`c4URRS3$)Nz.kwargsrrs rCrParamSpecKwargs.__repr__soo../w7 7r`cj[U[5(d[$URUR:H$r>)r?r r1rrs rCrParamSpecKwargs.__eq__s*e_55%%??e&6&66 6r`rNrrr`rCr r s  % 8 7r`r rc>^\rSrSrSrSrSSSSS.U4SjjrSrU=r$) riz!Parameter specification variable.rXNFrrrrtrc>[TU]XUUS9 [RX5 [R"S5R R SS5nUS:waX`l gg![[4a SnN"f=fr rzrrr2r3r4r0rrKrr|rrrrrtrrr~s rCrParamSpec.__init__s G T)+8  :  " "4 1 --*4488ZP--").#J/  0A%%A:9A:rrrs@rCrrs/ *.%u! * *r`c^\rSrSrSr\R r\S5r \S5r SSSSS.U4Sjjr S r S r S rS rS rSrU=r$)riaParameter specification variable. Usage:: P = ParamSpec('P') Parameter specification variables exist primarily for the benefit of static type checkers. They are used to forward the parameter types of one callable to another callable, a pattern commonly found in higher order functions and decorators. They are only valid when used in ``Concatenate``, or s the first argument to ``Callable``. In Python 3.10 and higher, they are also supported in user-defined Generics at runtime. See class Generic for more information on generic types. An example for annotating a decorator:: T = TypeVar('T') P = ParamSpec('P') def add_logging(f: Callable[P, T]) -> Callable[P, T]: '''A type-safe decorator to add logging to a function.''' def inner(*args: P.args, **kwargs: P.kwargs) -> T: logging.info(f'{f.__name__} was called') return f(*args, **kwargs) return inner @add_logging def add_two(x: float, y: float) -> float: '''Add two numbers together.''' return x + y Parameter specification variables defined with covariant=True or contravariant=True can be used to declare covariant or contravariant generic types. These keyword arguments are valid, but their actual semantics are yet to be decided. See PEP 612 for details. Parameter specification variables can be introspected. e.g.: P.__name__ == 'T' P.__bound__ == None P.__covariant__ == False P.__contravariant__ == False Note that only parameter specification variables defined in global scope can be pickled. c[U5$r>)r rs rCrParamSpec.args0s  & &r`c[U5$r>)r rs rCrParamSpec.kwargs4s "4( (r`NFrc>[TU]U/5 Xl[U5Ul[U5UlU(a[ R"US5UlOSUl[RX5 [R"S5RRSS5nUS:waX`lgg![[4a SnN"f=f)NzBound must be a type.r#rrXr)rzrrbool __covariant____contravariant__rXr __bound__rr2r3r4r0rrKrrs rCrr8s G dV $ M!%iD %)-%8D "!'!3!3E;R!S!%  " "4 1 --*4488ZP--").#J/  s90B77C  C crUR(aSnOUR(aSnOSnXR-$)N+-~)rrr)r|prefixs rCrParamSpec.__repr__Ls0!!''MM) )r`c,[RU5$r>r;rrs rCrParamSpec.__hash__U??4( (r`cXL$r>rrs rCrParamSpec.__eq__X = r`cUR$r>rrs rCrParamSpec.__reduce__[ == r`cgr>rr s rC__call__ParamSpec.__call___ r`)rrrrr)rrrrrrXr r~propertyrrrrrrrr$rrrs@rCrrsn, ^NN  '  '  )  )+/%u! * *( * ) ! !  r`rcf^\rSrSr\R rSrU4SjrSr Sr Sr \ S5r SrU=r$) _ConcatenateGenericAliasifFc<>[TU]U5 XlX lgr>)rzrrr)r|rrr~s rCr!_ConcatenateGenericAlias.__init__ns G T "$O Mr`c^[RmT"UR5SSRU4SjUR55S3$)Nrrc34># UH nT"U5v M g7fr>r)rAargrs rCrD4_ConcatenateGenericAlias.__repr__..vs!K]c*S//]sr)rXrrrr)r|rs @rCr!_ConcatenateGenericAlias.__repr__ssF**J!$//23 !KT]]!KKLAO Pr`cD[URUR45$r>)rrrrs rCr!_ConcatenateGenericAlias.__hash__xs$--89 9r`cgr>rr s rCr$!_ConcatenateGenericAlias.__call__|r&r`c:[SUR55$)Nc3t# UH.n[U[R[45(dM*Uv M0 g7fr>)r?rXr r)rArss rCrD:_ConcatenateGenericAlias.__parameters__..s'*rjfnni=X.Y]s)8 8)rirrs rCr<'_ConcatenateGenericAlias.__parameters__s !]] r`)rr)rrrrrXrYr~rerrrr$r'r<rrrs@rCr)r)fs@((  !  P  :     r`r)c^US:Xa [S5e[U[5(dU4n[US[5(d [S5eSm[U4SjU55n[ X5$)Nrz&Cannot take a Concatenate of no types.rzAThe last parameter to Concatenate should be a ParamSpec variable.z/Concatenate[arg, ...]: each arg must be a type.c3R># UHn[R"UT5v M g7fr>rrs rCrD'_concatenate_getitem..s!F:av))!S11:r )rIr?rirr))r|rPrs @rC_concatenate_getitemr<snR@AA j% ( ( ] jni 0 0./ / ;CF:FFJ #D 55r`c[X5$)zUsed in conjunction with ``ParamSpec`` and ``Callable`` to represent a higher order function which adds, removes or transforms parameters of a callable. For example:: Callable[Concatenate[int, P], int] See PEP 612 for detailed information. r<rs rCrrs$D55r`c \rSrSrSrSrSrg)_ConcatenateFormic SUR-$rrrs rCr_ConcatenateForm.__repr__rr`c[X5$r>r>rs rCr_ConcatenateForm.__getitem__s '9 9r`rNrrr`rCr@r@s  5 :r`r@a&Used in conjunction with ``ParamSpec`` and ``Callable`` to represent a higher order function which adds, removes or transforms parameters of a callable. For example:: Callable[Concatenate[int, P], int] See PEP 612 for detailed information. r5c\rSrSrSrSrg)_TypeGuardFormic SUR-$rrrs rCr_TypeGuardForm.__repr__rr`rNrrr`rCrFrFrr`rFcb[R"XS35n[R"X45$)aSpecial typing form used to annotate the return type of a user-defined type guard function. ``TypeGuard`` only accepts a single type argument. At runtime, functions marked this way should return a boolean. ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static type checkers to determine a more precise type of an expression within a program's code flow. Usually type narrowing is done by analyzing conditional code flow and applying the narrowing to a block of code. The conditional expression here is sometimes referred to as a "type guard". Sometimes it would be convenient to use a user-defined boolean function as a type guard. Such a function should use ``TypeGuard[...]`` as its return type to alert static type checkers to this intention. Using ``-> TypeGuard`` tells the static type checker that for a given function: 1. The return value is a boolean. 2. If the return value is ``True``, the type of its argument is the type inside ``TypeGuard``. For example:: def is_str(val: Union[str, float]): # "isinstance" type guard if isinstance(val, str): # Type of ``val`` is narrowed to ``str`` ... else: # Else, type of ``val`` is narrowed to ``float``. ... Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower form of ``TypeA`` (it can even be a wider form) and this may lead to type-unsafe results. The main reason is to allow for things like narrowing ``List[object]`` to ``List[str]`` even though the latter is not a subtype of the former, since ``List`` is invariant. The responsibility of writing type-safe type guards is left to the user. ``TypeGuard`` also works with type variables. For more information, see PEP 647 (User-Defined Type Guards). r)rXrrYrs rCr5r5s0X!!*6R.ST##D'22r`c \rSrSrSrSrSrg)rFic SUR-$rrrs rCrrHrr`cx[R"UURS35n[R"X45$)Nz accepts only a single typerrs rCr_TypeGuardForm.__getitem__s7%%j)- 4O&PRD''g6 6r`rNrrr`rCrFrFrr`a Special typing form used to annotate the return type of a user-defined type guard function. ``TypeGuard`` only accepts a single type argument. At runtime, functions marked this way should return a boolean. ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static type checkers to determine a more precise type of an expression within a program's code flow. Usually type narrowing is done by analyzing conditional code flow and applying the narrowing to a block of code. The conditional expression here is sometimes referred to as a "type guard". Sometimes it would be convenient to use a user-defined boolean function as a type guard. Such a function should use ``TypeGuard[...]`` as its return type to alert static type checkers to this intention. Using ``-> TypeGuard`` tells the static type checker that for a given function: 1. The return value is a boolean. 2. If the return value is ``True``, the type of its argument is the type inside ``TypeGuard``. For example:: def is_str(val: Union[str, float]): # "isinstance" type guard if isinstance(val, str): # Type of ``val`` is narrowed to ``str`` ... else: # Else, type of ``val`` is narrowed to ``float``. ... Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower form of ``TypeA`` (it can even be a wider form) and this may lead to type-unsafe results. The main reason is to allow for things like narrowing ``List[object]`` to ``List[str]`` even though the latter is not a subtype of the former, since ``List`` is invariant. The responsibility of writing type-safe type guards is left to the user. ``TypeGuard`` also works with type variables. For more information, see PEP 647 (User-Defined Type Guards). cx\rSrSrSrSrSrSrSrSr Sr S r S r S r S r\R S 5rSrg) _SpecialFormi0)rr_getitemcTXlURUlURUlgr>)rPrrr)r|rs rCr_SpecialForm.__init__3s %%  r`c<US;a UR$[U5e)N>rr)rr)r|rs rC __getattr___SpecialForm.__getattr__8s / /:: T""r`c [SU<35e)Nrr)r|rds rC__mro_entries___SpecialForm.__mro_entries__>s*4(344r`c SUR3$rrrs rCr_SpecialForm.__repr__As#DJJ<00r`cUR$r>rrs rCr_SpecialForm.__reduce__Ds zzr`c [SU<35e)NzCannot instantiate rr|rrs rCr$_SpecialForm.__call__Gs-dX677r`c*[RX4$r>rXUnionrs rC__or___SpecialForm.__or__Js||DK((r`c*[RX4$r>rars rC__ror___SpecialForm.__ror__Ms||EK((r`c[US35e)Nz! cannot be used with isinstance()r)r|r}s rCr{_SpecialForm.__instancecheck__P4& ABCCr`c[US35e)Nz! cannot be used with issubclass()r)r|rOs rCr{_SpecialForm.__subclasscheck__Srjr`c$URX5$r>)rPrs rCr_SpecialForm.__getitem__Vs}}T..r`)rrPrN)rrrrrrrTrWrrr$rcrfr{r{rXrArrrr`rCrOrO0sU0I' # 518))DD //r`rOrc[US35e)aRepresents an arbitrary literal string. Example:: from typing_extensions import LiteralString def query(sql: LiteralString) -> ...: ... query("SELECT * FROM table") # ok query(f"SELECT * FROM {input()}") # not ok See PEP 675 for details. rrr|r%s rCrr^s"4& 5677r`r c[US35e)zUsed to spell the type of "self" in classes. Example:: from typing import Self class ReturnsSelf: def parse(self, data: bytes) -> Self: ... return self rrrps rCr r us4& 5677r`r7c[US35e)a4The bottom type, a type that has no members. This can be used to define a function that should never be called, or a function that never returns:: from typing_extensions import Never def never_call_me(arg: Never) -> None: pass def int_or_str(arg: int | str) -> None: never_call_me(arg) # type checker error match arg: case int(): print("It's an int") case str(): print("It's a str") case _: never_call_me(arg) # ok, arg is of type Never rrrps rCr7r7s04& 5677r`c\rSrSrSrSrg)_ExtensionsSpecialFormic SUR-$rrrs rCr_ExtensionsSpecialForm.__repr__rr`rNrrr`rCrtrtrr`rtcv[R"XRS35n[R"X45$)aA special typing construct to mark a key of a total=False TypedDict as required. For example: class Movie(TypedDict, total=False): title: Required[str] year: int m = Movie( title='The Matrix', # typechecker error if key is omitted year=1999, ) There is no runtime checking that a required key is actually provided when instantiating a related TypedDict. rrrs rCr9r9s3"!!* Array[Batch, Unpack[Shape]]: ... rrXrrrrs rCrrs-!!* r?rr}s rCrMrM#|,,r`c,\rSrSr\R rSrg)rirNrrr`rCrrrr`c \rSrSrSrSrSrg) _UnpackFormic SUR-$rrrs rCr_UnpackForm.__repr__rr`cb[R"UURS35n[X45$rrrs rCr_UnpackForm.__getitem__!s1%%j)- 4P&QSDg. .r`rNrrr`rCrrs  5 /r`raA special typing construct to unpack a variadic type. For example: Shape = TypeVarTuple('Shape') Batch = NewType('Batch', int) def add_batch_axis( x: Array[Unpack[Shape]] ) -> Array[Batch, Unpack[Shape]]: ... c"[U[5$r>rrs rCrMrM3rr`rc4^\rSrSrSrSS.U4SjjrSrU=r$)ri:zType variable tuple.Nrc>[TU]U5 [RX5 [R"S5R R SS5nUS:waX0l gg![[4a SnN"f=fNr#rrXrr)r|rrrr~s rCrTypeVarTuple.__init__=st G T "  " "4 1 --*4488ZP--").#J/  rrrrs@rCrr:s",0 * *r`cb\rSrSrSr\R rSrSS.Sjr Sr Sr S r S r S rS rg) riJaType variable tuple. Usage:: Ts = TypeVarTuple('Ts') In the same way that a normal type variable is a stand-in for a single type such as ``int``, a type variable *tuple* is a stand-in for a *tuple* type such as ``Tuple[int, str]``. Type variable tuples can be used in ``Generic`` declarations. Consider the following example:: class Array(Generic[*Ts]): ... The ``Ts`` type variable tuple here behaves like ``tuple[T1, T2]``, where ``T1`` and ``T2`` are type variables. To use these type variables as type parameters of ``Array``, we must *unpack* the type variable tuple using the star operator: ``*Ts``. The signature of ``Array`` then behaves as if we had simply written ``class Array(Generic[T1, T2]): ...``. In contrast to ``Generic[T1, T2]``, however, ``Generic[*Shape]`` allows us to parameterise the class with an *arbitrary* number of type parameters. Type variable tuples can be used anywhere a normal ``TypeVar`` can. This includes class definitions, as shown above, as well as function signatures and variable annotations:: class Array(Generic[*Ts]): def __init__(self, shape: Tuple[*Ts]): self._shape: Tuple[*Ts] = shape def get_shape(self) -> Tuple[*Ts]: return self._shape shape = (Height(480), Width(640)) x: Array[Height, Width] = Array(shape) y = abs(x) # Inferred type is Array[Height, Width] z = x + x # ... is Array[Height, Width] x.get_shape() # ... is tuple[Height, Width] c#(# URv g7fr>) __unpacked__rs rC__iter__TypeVarTuple.__iter__ys## #sNrcXl[RX5 [R"S5R R SS5nUS:waX0l [UUl g![[4a SnN/f=fr) rrrr2r3r4r0rrKrrr)r|rrrs rCrr|sr M  " "4 1 --*4488ZP--") &t D  #J/  s0A((A=<A=cUR$r>r rs rCrTypeVarTuple.__repr__r"r`c,[RU5$r>rrs rCrTypeVarTuple.__hash__rr`cXL$r>rrs rCrTypeVarTuple.__eq__rr`cUR$r>r rs rCrTypeVarTuple.__reduce__r"r`c&SU;a [S5eg)Nrz&Cannot subclass special typing classesrr^s rCr?TypeVarTuple.__init_subclass__sd" HII#r`)rrr)rrrrrrXr r~rrrrrrr?rrr`rCrrJs<) XNN  $-1 - ! ) ! ! Jr`r0__objrDcd[S[U5R<3[RS9 U$)aReveal the inferred type of a variable. When a static type checker encounters a call to ``reveal_type()``, it will emit the inferred type of the argument:: x: int = 1 reveal_type(x) Running a static type checker (e.g., ``mypy``) on this example will produce output similar to 'Revealed type is "builtins.int"'. At runtime, the function prints the runtime type of the argument and returns it unchanged. zRuntime type is )file)printr rr2stderr)rs rCr0r0s*  e!5!5 89 K r`r __argc[S5e)aAssert to the type checker that a line of code is unreachable. Example:: def int_or_str(arg: int | str) -> None: match arg: case int(): print("It's an int") case str(): print("It's a str") case _: assert_never(arg) If a type checker finds that a call to assert_never() is reachable, it will emit an error. At runtime, this throws an exception when called. zExpected code to be unreachable)AssertionErrorrs rCr r s(>??r`r#r) eq_default order_defaultkw_only_defaultfield_specifiersrrrr.rc $^^^^^UUUUU4SjnU$)aDecorator that marks a function, class, or metaclass as providing dataclass-like behavior. Example: from typing_extensions import dataclass_transform _T = TypeVar("_T") # Used on a decorator function @dataclass_transform() def create_model(cls: type[_T]) -> type[_T]: ... return cls @create_model class CustomerModel: id: int name: str # Used on a base class @dataclass_transform() class ModelBase: ... class CustomerModel(ModelBase): id: int name: str # Used on a metaclass @dataclass_transform() class ModelMeta(type): ... class ModelBase(metaclass=ModelMeta): ... class CustomerModel(ModelBase): id: int name: str Each of the ``CustomerModel`` classes defined in this example will now behave similarly to a dataclass created with the ``@dataclasses.dataclass`` decorator. For example, the type checker will synthesize an ``__init__`` method. The arguments to this decorator can be used to customize this behavior: - ``eq_default`` indicates whether the ``eq`` parameter is assumed to be True or False if it is omitted by the caller. - ``order_default`` indicates whether the ``order`` parameter is assumed to be True or False if it is omitted by the caller. - ``kw_only_default`` indicates whether the ``kw_only`` parameter is assumed to be True or False if it is omitted by the caller. - ``field_specifiers`` specifies a static list of supported classes or functions that describe fields, similar to ``dataclasses.field()``. At runtime, this decorator records its arguments in the ``__dataclass_transform__`` attribute on the decorated object. See PEP 681 for details. c">TTTTTS.UlU$)N)rrrrr)__dataclass_transform__) cls_or_fnrrrrrs rC decorator&dataclass_transform..decorators$(!.#2$4 1I - r`r)rrrrrrs````` rCr#r#sL  r`r._F)rcU$)aIndicate that a method is intended to override a method in a base class. Usage: class Base: def method(self) -> None: ... pass class Child(Base): @override def method(self) -> None: super().method() When this decorator is applied to a method, the type checker will validate that it overrides a method with the same name on a base class. This helps prevent bugs that may occur when a base class is changed without an equivalent change to a child class. See PEP 698 for details. rrs rCr.r.&s , r`c[R"S5RRSS5$![[ 4a gf=f)NrrrX)r2r3r4r0rrKrr`rC_callerrQs@ ==#--11*jI I +  s/2AAc 8UVVs/sHupEUPM nnnUVVs0sH!upEU[R"USUS35_M# nnn[R"XX2S9nU=UlUR l[ RS:aXxlU$s snnfs snnf)Nzfield z annotation must be a typedefaultsmodulera) rXrr namedtuplerrr2 version_info _field_types) rrjrrrrr^r_rnm_tpls rC _make_nmtuplerWs %&!&#(*#(41&,,Q&;U0VWW#( *''19JBMM!?   f $"-  '*s B(B>rrrc\rSrSrSrSrg)_NamedTupleMetaigc l[U;deUH,nU[LdMU[RLdM#[S5e [ SU55nUR S05n/nUHVnXs;aUR U5 MU(dM$[SUS[U5S:aSOSS S RU535e [XR"5UVs/sHoUPM snUS S 9n X)l [RU;a4[RRRn [U 5U l UHFn U [;a[!S U -5eU [";dM'XR$;dM8['XX;5 MH [RU;aU R)5 U $s snf)Nz3can only inherit from a NamedTuple type and Genericc3B# UHo[La[OUv M g7fr>) _NamedTuplerirhs rCrD*_NamedTupleMeta.__new__..nsSUT;#6%D@UrFrzNon-default namedtuple field z cannot follow default fieldr#s rrrz&Cannot overwrite NamedTuple attribute )rrXrrIrir0rgrLrrrmr9r'r classmethod_prohibited_namedtuple_fieldsr_special_namedtuple_fieldsrWsetattrr?) rOr^rdr`rrj default_names field_namerrr class_getitemkeys rCr_NamedTupleMeta.__new__hs%' ''{*t6>>/I#MOOSUSSEFF,b1EM# #!((4"]#&CJ<PB.1-.@1.Ds"&MQ'+yy'?&@%BCC $#++-)67AQ%7,'F % ~~& & @ @ I I +6}+E(77()QTW)WXX ::s..?XF1  ~~&((*M8sF1 rN)rrrrrrrr`rCrrgs" r`rc rUcUR5nOU(a [S5e[X[5S9$)NzIEither list of fields or keywords can be provided to NamedTuple, not both)r)rmrIrr) __typename__fieldsrs rCrrs:  ||~H GH HZ')DDr`r)rUz$(typename, fields=None, /, **kwargs)c([U;de[4$r>)rr)rds rC_namedtuple_mro_entriesrsU"""~r`r>)NNF)r)r.rcollections.abcr/rr2rjrZrX__all__PEP_560r  GenericMetar;rJrTrr_rmr8r rnrorprqrsrrwrrKrrOrr%r)r+rrr-r$r" defaultdictpartialrOrr rrrrrrrrr_aliasrrrr,r3r6r<rrr r/r ABCMetarr2r1rrr]r*rLrQ__text_signature__rarrrr}r!r(rrrrYr'r&r ImportErrorr[rr4rrr r rrrr)rAr<rr@r5rF_Finalrr r7r9r:rtrzrrrrMrrr0r r#rr$rbrr.rrrr _prohibitedrrorrrrrrWrr`rCrs(    B J  (*1<*w  JF* ?? NN3 ^^D ^^D ~~f- >>*D 9w &4 & 9 9 ?? 67 0 0! 4 > LLE7V((7 w L MEw LLE @  69nnG:v**$:9 1 2G(( 6?##H((M,,O%00+1148&P 7# {{       $$ $$  &&00   6=!!$$K-- 7 7"bBK .. ??&& .. {{$$ = &X%&R 6:H@7 7$$]$F 6&''00   6?##((M 6:  I**N&&L % $RI $(*=X*HN%====~{TGR8I#I <v'(("11>B*, 7 6=!!$$K   6:**N0(>X 6;  I,,O%>&..d%>N88zBQ7"""JH1,4?00 6;  IbqV#5,,D5 8 85,,D5{ $) *I $ $ &fnnm4&. 6?##((M,,O7 7.7*70 6;*F$$m4*.bD-bLv}%%4B 6 6 6=!!$$K%>>bqV# 6 6:6..d:#   K 6;  IbqV#5,,D5,3,3^7,,D7) + I^(/6==(/V 6?##((M88& 66 ;;D88" 67 LLE884 6:H$$KbqV#5!4!4D533&33"7++47  H"    K  68 ]]FbqV#5V005#v++4# + +-#v++4#/f))/   F- 6>"" *v**M * NJ}NJb 6=!!$$K1( 6>""&&L@E@e@. 6()) 44 # % OOO O !,, LLVZZ0&//#vzz/2RR S   O**O !a Od 6:H FOOCO$D EBr@v~&& 2F*F w""J %+$6$6!!*+X!Y#$#JE **22J,, b"EK  6!(N %"9JE$ 1"001 4%334s$*j1j5j21j25k  k