403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/__pycache__/typing.cpython-315.pyc
R
>lqj&/c
� �Qs]QHGsGs]PHs]QHGs]PHs]PHs]PH s]PH$s	]PH(s
]PH,s]QH,Gs]PH5s
]QH8GsGsGsGsGsGsGsGsGsGs,QMQMQMQMQ	MQ
MQMQMQ
MQMQMQMQMQMQMQMQMQMQMQMQMQMQMQMQMQMQMQ MQ!MQ"MQ#MQ$MQ%MQ&MQ'MQ(MQ)MQ*MQ+MQ,MQ-MQ.MQ/MQ0MQ1MQ2MQ3MQ4MQ5MQ6MQ7MQ8MQ9MQ:MQ;MQ<MQ=MQ>MQ?MQ@MQAMQBMQCMQDMQEMQFMQGMQHMQIMQJMQKMQLMQMMQNMQOMQPMQQMQRMQSMQTMQUMQVMQWMQXMQYMQZMQ[MQ\MQ]MQ^MQ_MQ`MQaMQbMQcMQdMQeMQfMQgMQhMQiMQjMQkMQlMQmMQnMsCQ=QoP
QpP-QqkksCQ>QoP
QpP-QrkksQssQtsQusQvP	QwP
-QxQykksQzs Q{s!Q|P
-Q}ks"Q~s#,s$-s%CQ=QP
-Q�kks&Q�Q�ks'Q�Q�ks(Q�\)2Q�PQpPQ�PQ�P
-Q�ks*Q�Q�2s+Q�Q�2s,Q�Q�\+\,P	Q�5s-Q�Q�\-P	Q�5s.Q�Q�\-P	Q�5s/Q�Q�\02s1Q�Q\1Q�5s2\-Q�2s3\-Q�2s4\-Q�2s5\-Q�2s6\-Q�2s7\-Q�2s8\-Q�2s9\.\&P	Q�5Q�22s:\-Q�2s;\-Q�2s<\-Q�2s=\/Q�2s>\-Q�2s?Q�P-Q�ks@QpPQ�PQ�PQ�PQ�PQ�\)2-Q�ksAQ�Q�ksBQ�Q�ksCQ�sDQ�sEQ�sFQ�sG\&Q�2sHQ�sIQ�sJQ�Q�\+P	Q�5sKQ�Q�\KP	Q�5sLQ�Q�\,\KP	Q�5sMQ�Q�\,\LP	Q�5sNQ�Q�\MP	Q�5sOQ�Q�\MP	Q�5sPQ�Q�\02sQQ�Q�\QQ�5sRQ�sSQ�Q�\LP	Q�5sTQ�Q�\LP	Q�5sU\-Q�2sVQ�Q�\LP	Q�5sWQ�Q�2sX\).CQ?l2sY\).CQ@l2sZ\Y\Z*Q�.*s[Q�s\Q�s]CQAQ�ks^CQBQ�ks_Q�,CQCNQ�Q�Q�,Q�Q�Q�,Q�Q�,-s`\O�Q�2sb\$O�\bO�2Q�se\O�\\e2Q�sg\O�\\g2?e?g\O�si\O�skQ�slQ�Q�\2sm\nQ�2soQ�Q\\mQ�5spQ�Q�\,\LP	Q�5sq\.\&P	Q�5Q�22srQ�ssQ�stQ�suCQDQ�P-Q�kksvQ�swQ�sxQ�syQ�szQ�s{]ds|Q�Q�ks}Q�s~Q�s\\CO\\�22s�Q�s�Q�s�Q�s�Q�s�Q�s�\Q�2s�\Q�2s�\Q�2s�\CQP	CQ5s�\CQP	CQ5s�\CQP	CQ5s�\CQP	CQ5s�\CQP	\0CQ5s�\QF\�\�2s�\Ms�\�\OCO(]2s�\�\OCO*]2s�\�\OCO,]2s�\�\OCO.]2s�\�\OCO0]2s�\�\OCO2]2s�\�\OCO4]2s�\�\OCO6]2s�\�\OCO8]2s�\�\OCO:]2s�\�\OCO<]2s�\O\OCO>]2s�CQ\�m\�\OCO@]QCQ	5s�\�\OCOD]2s�\�\OCOF]2s�\�\OCOH]2s�\�\OCOJ]2s�\�\OCOL]2s�\P\�PP
QCQ
5s�CQ\�m\�\�]P
Q:CQ
5s�\�\COV]Q7CQ	5s�\�\�]P
Q<CQ
5s�\�\)]P
Q=CQ
5s�\�\OCO^]2s�\�\OCO`]2s�\�\OCOb]2s�\�\OCOd]2s�\�\�]P
Q8CQ
5s�\�\O
]Q9CQ	5s�\�\COj]2s�\�\COl]2s�\�\COn]2s�\�\OCOp]\COr\COr1CQ5s�\�\OCOt]\COr1CQ5s�\�\0]P
QCQ
5s�CQ
\�m\sCQQ3\p22s�\sCQQ1\p22s�\sCQQ0\p22s�\sCQQ/\p22s�\sCQQ2\p22s�\sCQ22s�\sCQ22s�CQFCQks�CQs�\).CQGl2s�\).CQHl2s�CQCQ\02s�CQs�\0CO�\�Q>CQE-2s�CQs�\�\�m�\�Q[2s�CQs�CQCQ\02s�CQP	CQPCQ \�-CQ!ks�\0CO�\�Q?CQE-2s�CQ"\�m�\-CQ#2s�\-CQ$2s�\-CQ%2s�CQ&QX2s�\�s�P
s�CQ'QB\\�*2s�CQ(QA\�\�*2s�CQ)QE\�\�*2s�CQ*2s�CQ+CQ,\p2s�CQ-P	CQ.P
CQ/P
CQ0P
CQ1CQE-CQ2CQ3kks�CQ4PCQ5CQ6k13s�CQ72s�CQ8CQ9ks�CQ:CQ;ks�CQ<s�P!(Ia�
The typing module: Support for gradual typing as defined by PEP 484 and subsequent PEPs.

Among other things, the module includes the following:
* Generic, Protocol, and internal machinery to support generic aliases.
  All subscripted types like X[int], Union[int, str] are generic aliases.
* Various "special forms" that have unique meanings in type annotations:
  Any, Never, ClassVar, Self, Concatenate, Unpack, and others.
* Classes whose instances can be type arguments to generic classes and functions:
  TypeVar, ParamSpec, TypeVarTuple.
* Public helper functions: get_type_hints, overload, cast, final, and others.
* Several protocols to support duck-typing:
  SupportsFloat, SupportsIndex, SupportsAbs, and others.
* Special types: NewType, NamedTuple, TypedDict.
* Deprecated aliases for builtin types and collections.abc ABCs.

Any name not present in __all__ is an implementation detail
that may be changed without notice. Use at your own risk!
)�abstractmethod�ABCMeta)�defaultdict)�GenericAlias)
�_idfunc�TypeVar�	ParamSpec�TypeVarTuple�
ParamSpecArgs�ParamSpecKwargs�
TypeAliasType�Generic�Union�	NoDefault�	Annotated�Any�Callable�ClassVar�Concatenate�Final�
ForwardRefr�Literal�Optionalr�Protocol�Tuple�Typerrr
�AbstractSet�	Container�ContextManager�Hashable�	ItemsView�Iterable�Iterator�KeysView�Mapping�MappingView�MutableMapping�MutableSequence�
MutableSet�Sequence�Sized�
ValuesView�	Awaitable�
AsyncIterator�
AsyncIterable�	Coroutine�
Collection�AsyncGenerator�AsyncContextManager�
Reversible�SupportsAbs�
SupportsBytes�SupportsComplex�
SupportsFloat�
SupportsIndex�SupportsInt�
SupportsRound�ChainMap�Counter�Deque�Dict�DefaultDict�List�OrderedDict�Set�	FrozenSet�
NamedTuple�	TypedDict�	Generator�BinaryIO�IO�Match�Pattern�TextIO�AnyStr�assert_type�assert_never�cast�clear_overloads�dataclass_transform�
disjoint_base�evaluate_forward_ref�final�get_args�
get_origin�
get_overloads�get_protocol_members�get_type_hints�is_protocol�is_typeddict�
LiteralString�Never�NewType�
no_type_checkr�NoExtraItems�NoReturn�NotRequired�overload�overrider	r
�ReadOnly�Required�reveal_type�runtime_checkable�Self�Text�
TYPE_CHECKING�	TypeAlias�TypeForm�	TypeGuard�TypeIsr�Unpack�allow_special_forms�ownerc�l�Ue[P2![U[2%c[VV#Q5!U!)z=For converting None to type(None), and strings to ForwardRef.)�module�is_classrq)�type�
isinstance�str�_make_forward_ref)�argrsrprqs&&$$�C:\Python315\\Lib\typing.py�
_type_convertr{�s1��
�{��D�z���#�s��� ��>Q�_�_��J�c�8�[[1oU%f%U[1*
oU%cU[1*
o[	VVEQ5o[U[2%c UOU7c[UQ02gU[[[[[[17cU!U%cU[[17cU![U[2%fU[[17c[QUQ02g[!U2["Ic[UQU8Q
Q02gU!)a�Check that the argument is a type, and return it (internal helper).

As a special case, accept None and return type(None) instead. Also wrap strings
into ForwardRef instances. Consider several corner cases, for example plain
special forms like Union are not valid, while Union[int, str] is OK, etc.
The msg argument is a human-readable error message, e.g.::

    "Union[arg, ...]: arg should be a type."

We append the repr() of the actual value (truncated to 100 chars).
)rsrprq� is not valid as type argumentzPlain z Got z.100�.)rrrrr{rv�
_GenericAlias�
__origin__�	TypeErrorrr[r`r\rhrk�_SpecialFormru�tuple)ry�msg�is_argumentrsrprq�invalid_generic_formss&&&&$$ rz�_type_checkr��s���%�h�/����(��,���!�e�X�-�!�
��@S�
a�C��3�
�&�&��N�N�3�3��3�%�=�>�?�?�
�s�M�8�U�D�)�D�D��
��s�x��&7�7��
��#�|�$�$����/B�(B��&���%C�D�E�E��C�y�E���3�%�u�S�L�4�L��2�3�3��Jr|c�\�UQI9%f![U[[[[12!�.)rvr��listr�_ConcatenateGenericAlias�rys&rz�_is_param_exprr��s2���#�:�@�@��C�
�D�)�%=�>�@�@r|c��UO[OOI9%c.[	U2]6H9%c[U]*2%(!)aInternal helper for munging collections.abc.Callable's __args__.

The canonical representation for a Callable's __args__ flattens the
argument types, see https://github.com/python/cpython/issues/86361.

For example::

    >>> import collections.abc
    >>> P = ParamSpec('P')
    >>> collections.abc.Callable[[int, int], str].__args__ == (int, int, str)
    True
    >>> collections.abc.Callable[P, str].__args__ == (P, str)
    True

As a result, if we need to reconstruct the Callable from its __args__,
we need to unflatten it.
)r��collections�abcr�lenr�)�typ�argss&&rz�_should_unflatten_callable_argsr��sH��&	���+�/�/�2�2�2�	=�	=��T��a��;�;�N�4��7�$;�<�r|c��[U[2%c&QQOQU22*Q*![OU2!)a'Return the repr() of an object, special-casing types (internal helper).

If obj is a type, we return a shorter version than the default
type.__repr__, based on the module and qualified name, which is
typically enough to uniquely identify a type.  For everything
else, we fall back on repr(obj).
�[�, c3�D�SF �Do[U2w�	J	P!3h�N)�
_type_repr)�.0�ts& rz�	<genexpr>�_type_repr.<locals>.<genexpr>�s��c���c��z�!�}�}�c��� �])rvr��join�
annotationlib�	type_repr��objs&rzr�r��sA���#�u����T�Y�Y�:�c�:�:�:�S�@�@��"�"�3�'�'r|�enforce_default_ordering�validate_allc�2�U]6�cPgQ[Q[-!)�r�r���bool)�formats"rz�__annotate__�%_collect_type_parameters.__annotate__�s$��E�E�#�E��	Er|c	�<�P
oP
o,oSFCD�o[U[2%cJ[U[2%c:SFD0o[U,2FDoV�7fJUO	U2J	J2	Jk[UQ2%c~Ve7cvU%c[U%c"UO
2%c[Q2gUO
2%cP	oLU%c[QU8Q02gUO	U2J�J�U%fA[U[2%c+UO[[17cUOoCJB[U2%cP	o[UQQ2FDoVu7fJUO	U2J	CJ�	[U2!)a�Collect all type parameters in args
in order of first appearance (lexicographic order).

Having an explicit `Generic` or `Protocol` base class determines
the exact parameter order.

For example::

    >>> P = ParamSpec('P')
    >>> T = TypeVar('T')
    >>> _collect_type_parameters((T, Callable[P, T]))
    (~T, ~P)
    >>> _collect_type_parameters((list[T], Generic[P, T]))
    (~P, ~T)

�__typing_subst__z2Type parameter with a default follows TypeVarTuplezType parameter z8 without a default follows type parameter with a default�__parameters__�)rvrur��_collect_type_parameters�append�hasattr�has_defaultr�r�r�rrr��_is_unpacked_typevartuple�getattr)	r�r�r��default_encountered�type_var_tuple_encountered�
parametersr��x�	collecteds	&$$      rzr�r��sl��. ��!&���J�
���a�����
��5�
!�
!���!9�1�#�!>�I� �2�"�)�)�)�4�"?���Q�*�
+�
+��"�+�1�a�m�m�o�o�'�)@�A�A��}�}���.2�+�,�'�/�!��?Q�)Q�R�R��!�!�!�$�#���1�m�,�,�����(� 3�3��)�)�J�(��+�+�-1�*��Q� 0�"�5���&��%�%�a�(�6�O�T���r|c
�p�[UO2oU%f[UQ02g[U2oV26wcyV26cRUOU*O2%cP!U[	QUO22*oQU0oLSo[QV26�cQLQQUQUQ	U02gP!)
z�Check correct count for parameters of a generic cls (internal helper).

This gives a nice error message in case of count mismatch.
� is not a generic classc3�L�SF �DpO2w�	J	P!3hr�)r��r��ps& rzr��0_check_generic_specialization.<locals>.<genexpr>[s��9K���9K�A�
�
���9K�s�$�	at least �Too �many�few� arguments for �	; actual �, expected )r�r�r�r��sum)�cls�	arguments�expected_len�
actual_len�
expect_vals&&   rz�_check_generic_specializationr�Es���
�s�)�)�*�L���3�%�6�7�8�8��Y��J��!��$��!�!�*�-�9�9�;�;���C�L��9K�9K�L�L�L�L�$�\�N�3�J�%�J��$��)B�v��N�O � #�u�I�j�\��Z�L�R�S�	S�%"r|c��,oSFDMo[UQP2oUd)U%cUP*QIfUOU2J<UOU2JO	U!)�__typing_unpacked_tuple_args__.)r��extendr�)r��newargsry�subargss*   rz�_unpack_argsr�dsR���G����#�?��F�����G�B�K�3�4F��N�N�7�#��N�N�3����Nr|�unhashable_fallbackc��[OU2![c4S%fg,oSFDoX27fJSOS2J	St!h9hr�)�dict�fromkeysr�r�)�paramsr��new_unhashabler�s&$  rz�_deduplicater�nsV��
��}�}�V�$�$����"�����A��&��%�%�a�(�����s��	A�A�A�A�Ac��,oSFDGo[U[2%cUOUO2J6UO	U2JI	[U2!)zHInternal helper for Literal creation: flatten Literals among parameters.)rv�_LiteralGenericAliasr��__args__r�r�)r�r�r�s&  rz�_flatten_literal_paramsr�|sG��
�F�
���a�-�.�.��M�M�!�*�*�%��M�M�!��	�
��=�r|�typedc�.`�U1QkoUd	UU2!U!)z�Internal wrapper caching __getitem__ of generic types.

For non-hashable arguments, the original function is used as a fallback.
c��:`�[ORQ5R2oU[R$[O	UO
2=[OR2U1Qk2oU!)�r�c�d:�[R*U-U@![cLh9hRS-S@!r�)�_cachesr�)r��kwds�funcs*,�rz�inner�+_tp_cache.<locals>.decorator.<locals>.inner�s>���
��t�}�d�3�d�3�3���
��
����&��&�&s��	&�&�&)�	functools�	lru_cacher��	_cleanupsr��cache_clear�wraps)r��cacher�r�sf  �rz�	decorator�_tp_cache.<locals>.decorator�s\����#�#�%�0��6�����
�����*�*�+��	����	�	'�
�	'��r|r�)r�r�r�s"d rz�	_tp_cacher��s ���
�(�������r|c�X�U]6�cPgQ[Q[[Q1*Q[-!)r��aliasr�.�return)rr��object)r�s"rzr��#_rebuild_generic_alias.__annotate__�s*��
�
�,�
�e�F�C�K�6H�
�\�
r|c���UOo[V2%c!UOUPPUP*1*oLUOU*oU%c[U*oU!r�)�__unpacked__r�r�ro)r�r��is_unpackedr�s&&  rz�_rebuild_generic_aliasr��sX���$�$�K�&�u�3�3����d�3�B�i��b��2�3�����T�"����1�I���Hr|c�*�U]6�cPgQ[QP-!)r��funcnamer��rw)r�s"rzr��;_deprecation_warning_for_no_type_params_passed.__annotate__�s��
K�
K�S�
K�T�
Kr|c�T�]PHoQU8QUQ0oUOU[]Q5P!)�z:Failing to pass a value to the 'type_params' parameter of z@ is deprecated, as it leads to incorrect behaviour when calling zl on a stringified annotation that references a PEP 695 type parameter. It will be disallowed in Python 3.15.��category�
stacklevel)�warnings�warn�DeprecationWarning)rr	�depr_messages&  rz�._deprecation_warning_for_no_type_params_passedr
�s=�����\�� �z�"0�	1��
�M�M�,�);��M�Jr|�recursive_guardr��
parent_fwdref�prefer_fwd_modulec
�````````�[U[O2%c�R%c�UOduPn[	RQP29o	%c^[	[
OOUOP2QP2nRd%[R2nS	FDo
U
RU
O$J	[URRRRRRQ5![U[[[12%Cc%[U[2%cG[9PIc!,U1QkUO2DMJ	3LU1QkUO22oLUOo[9PIc,UUUUUUU1QkU2DMJ	3LUUUUUUU1QkU22oV�O6XcU![U[2%c[!V2![U[2%c&["O$[&O(U2!UO+U2!U!)z�Evaluate all forward references in the given type t.

For use of globalns and localns see the docstring for get_type_hints().
recursive_guard is used to prevent infinite recursion with a recursive
ForwardRef.
�__type_params__�__dict__)�globals�locals�type_paramsrq�_recursive_guardr�c3�z:�SF �D+o[U[2%c[URQ5LSw�	J-	P!3h))r)rvrwrx)r�ryrs& �rzr��_eval_type.<locals>.<genexpr>�s4��%���%�C�HR�RU�WZ�G[�G[�!�#�]�C�ad�d�%�s�;�;c
3�V:�SF �Do[URRRRRRRQ5w�	J	P!3h))rr�rqr)�
_eval_type)	r��ar��globalns�localnsrqrrrs	& �������rzr�r�s9��
���
��	
��8�W�k�?��U�>O�
�
��s�!))rvr�r�__forward_module__r��sys�modules�getr��__name__rRr�rr
r�r�r�r��reduce�operator�or_�	copy_with)
r�rrrrr�rqrr�owner_type_params�
type_paramr��ev_argss
&fffddddd    rzrr�s�����!�]�-�-�.�.�
��!5�!5�!A��H�%,�E�3D�d�$K�K� �K�"��K�K�O�O�A�$8�$8�$�?��T����'�#�H�~�H�&7�
�8B���!4�!4�5�'8�#�A�x��0;�5�5D�V�U�	U��!�m�\�5�9�:�:��a��&�&��5���:�:��5�5���:�:���D�
�:�:�D��%�
�
�
�
�%�%�
�
�
�
�
���j�j� ��H��a��&�&�)�!�5�5��a�����#�#�H�L�L�'�:�:��;�;�w�'�'��Hr|c�0`�\sQsQsnQsQsQsQsUsP!)�_Final�zMixin to prohibit subclassing.c�,�QU7c[Q2gP!)�_rootz&Cannot subclass special typing classes�r�)r�r�r�s"*,rz�__init_subclass__�_Final.__init_subclass__�s���$���D�E�E�r|r�)�__weakref__)	r#�
__module__�__qualname__�__firstlineno__�__doc__�	__slots__r1�__static_attributes__�__classdictcell__��
__classdict__s@rzr,r,�s����(� �I�F�Fr|r,c�$�\sQsQsQsQsPsQsP!)�_NotIterable�arMixin to prevent iteration, without being compatible with Iterable.

That is, we could do::

    def __iter__(self): raise TypeError()

But this would make users of this mixin duck type-compatible with
collections.abc.Iterable - isinstance(foo, Iterable) would be True.

Luckily, we can instead prevent iteration by setting __iter__ to None, which
is treated specially.
r�)r#r4r5r6r7r8�__iter__r9r�r|rzr>r>s����I��Hr|r>c�r`�\sQsQsnQsQsQsQsQsQs	Qs
QsQ	sQ
s
Qs\Q2sQ
sUsP!)r��c�X�VmUOUmUOUmP!r�)�_getitemr#�_namer7)�self�getitems&&rz�__init__�_SpecialForm.__init__s���
��%�%��
�����r|c�@�UQ7c
UO![U2g)r#>r#r5)rE�AttributeError)rF�items&&rz�__getattr__�_SpecialForm.__getattr__s ���/�/��:�:���T�"�"r|c�"�[QU802g)�Cannot subclass r0�rF�basess&&rz�__mro_entries__�_SpecialForm.__mro_entries__%s���*�4�(�3�4�4r|c�*�QUO*!��typing.�rE�rFs&rz�__repr__�_SpecialForm.__repr__(����4�:�:�%�%r|c��UO!r�rXrYs&rz�
__reduce__�_SpecialForm.__reduce__+����z�z�r|c�"�[QU802g)zCannot instantiate r0)rFr�r�s&*,rz�__call__�_SpecialForm.__call__.s���-�d�X�6�7�7r|c� �[V1*!r��r
�rF�others&&rz�__or__�_SpecialForm.__or__1����T�[�!�!r|c� �[V1*!r�rerfs&&rz�__ror__�_SpecialForm.__ror__4����U�[�!�!r|c� �[UQ02g)z! cannot be used with isinstance()r0�rFr�s&&rz�__instancecheck__�_SpecialForm.__instancecheck__7����4�&� A�B�C�Cr|c� �[UQ02g)z! cannot be used with issubclass()r0�rFr�s&&rz�__subclasscheck__�_SpecialForm.__subclasscheck__:rsr|c�&�UOV2!r�)rD�rFr�s&&rz�__getitem__�_SpecialForm.__getitem__=s���}�}�T�.�.r|)r7rDrE)rEr7rD)r#r4r5r6r8rHrMrSrZr^rbrhrlrqrvr�rzr9r:r;s@rzr�r�sR����0�I�'�
#�5�&��8�"�"�D�D��/��/r|r��r/c�(`�\sQsQsnQsQsUsP!)�_TypedCacheSpecialForm�Bc�`�[U[2%fU1oUOU,UN3!r�)rvr�rDrys&&rzrz�"_TypedCacheSpecialForm.__getitem__Cs*���*�e�,�,�$��J��}�}�T�/�J�/�/r|r�)r#r4r5r6rzr9r:r;s@rzr~r~Bs����0�0r|r~c�(`�\sQsQsnQsQsUsP!)�
_TypeFormForm�Ic��U!r�r�rps""rzrb�_TypeFormForm.__call__Ls���
r|r��r#r4r5r6rbr9r:r;s@rzr�r�Is�����r|r�c�@``�\sQsQsnU1QksU1QksQsUsU9s!)�_AnyMeta�Pc�N:�U[Ic[Q2g[RU_
U2!)z+typing.Any cannot be used with isinstance())rr��superrq)rFr��	__class__s&&�rzrq�_AnyMeta.__instancecheck__Qs&����3�;��I�J�J��w�(��-�-r|c�::�U[IcQ![RU_	2!)z
typing.Any)rr�rZ)rFr�s&�rzrZ�_AnyMeta.__repr__Vs����3�;���w��!�!r|r�)	r#r4r5r6rqrZr9r:�
__classcell__�r�r<s@@rzr�r�Ps����.�
"�"r|r�c�8``�\sQsQsnQsU1QksQsUsU9s!)r�\a;Special type indicating an unconstrained type.

- Any is assignable to every type.
- Any assumed to have all methods and attributes.
- All values are assignable to Any.

Note that all the above statements are true from the point of view of
static type checkers. At runtime, Any cannot be used with instance
checks.
c�N:�U[Ic[Q2g[RU_
U2!)zAny cannot be instantiated)rr�r��__new__�r�r��kwargsr�s&*,�rzr��Any.__new__hs%����#�:��8�9�9��w��s�#�#r|r�)	r#r4r5r6r7r�r9r:r�r�s@@rzrr\s����	�$�$r|)�	metaclassc� �[UQ02g)ajSpecial type indicating functions that never return.

Example::

    from typing import NoReturn

    def stop() -> NoReturn:
        raise Exception('no way')

NoReturn can also be used as a bottom type, a type that
has no values. Starting in Python 3.11, the Never type should
be used for this concept instead. Type checkers should treat the two
equivalently.
� is not subscriptabler0rys&&rzr`r`ns�� �t�f�1�2�
3�3r|c� �[UQ02g)a(The 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 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
r�r0rys&&rzr\r\�s��,�t�f�1�2�
3�3r|c� �[UQ02g)aKUsed to spell the type of "self" in classes.

Example::

    from typing import Self

    class Foo:
        def return_self(self) -> Self:
            ...
            return self

This is especially useful for:
    - classmethods that are used as alternative constructors
    - annotating an `__enter__` method which returns self
r�r0rys&&rzrhrh�s��"�t�f�1�2�
3�3r|c� �[UQ02g)a�Represents an arbitrary literal string.

Example::

    from typing import LiteralString

    def run_query(sql: LiteralString) -> None:
        ...

    def caller(arbitrary_string: str, literal_string: LiteralString) -> None:
        run_query("SELECT * FROM students")  # OK
        run_query(literal_string)  # OK
        run_query("SELECT * FROM " + literal_string)  # OK
        run_query(arbitrary_string)  # type checker error
        run_query(  # type checker error
            f"SELECT * FROM students WHERE name = {arbitrary_string}"
        )

Only string literals and other LiteralStrings are compatible
with LiteralString. This provides a tool to help prevent
security issues such as SQL injection.
r�r0rys&&rzr[r[�s��0�t�f�1�2�
3�3r|c�<�[VQ0P	Q5o[V12!)aSpecial type construct to mark class variables.

An annotation wrapped in ClassVar indicates that a given
attribute is intended to be used as a class variable and
should not be set on instances of that class.

Usage::

    class Starship:
        stats: ClassVar[dict[str, int]] = {} # class variable
        damage: int = 10                     # instance variable

ClassVar accepts only types and cannot be further subscribed.

Note that ClassVar is not a class itself, and cannot
be used with isinstance() or issubclass().
� accepts only single type.�rp�r�r��rFr�rLs&& rzrr��&��&�z�V�+E�#F�\`�a�D���w�'�'r|c�<�[VQ0P	Q5o[V12!)a�Special typing construct to indicate final names to type checkers.

A final 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.
r�r�r�r�s&& rzrr�r�r|c�P�[VQ02o[U[P21*!)z&Optional[X] is equivalent to X | None.z requires a single type.)r�r
ru)rFr�rys&& rzrr�s)���j�F�*B�"C�
D�C���d�4�j��!�!r|r�c���[U2o[[U22o[9PIc,Q[	UP	Q52DMJ	3LQ[	UP	Q522o[V2!)a�Special typing form to define literal types (a.k.a. value types).

This form can be used to indicate to type checkers that the corresponding
variable or function parameter has a value equivalent to the provided
literal (or one of several literals)::

    def validate_simple(data: Any) -> Literal[True]:  # always returns True
        ...

    MODE = Literal['r', 'rb', 'w', 'wb']
    def open_helper(file: str, mode: MODE) -> str:
        ...

    open_helper('/some/path', 'r')  # Passes type check
    open_helper('/other/path', 'typo')  # Error in type checker

Literal[...] cannot be subclassed. At runtime, an arbitrary value
is allowed as type argument to Literal[...], but type checkers may
impose restrictions.
c3�6�SF �D
vqUw�	J	P!3hr�r�)r�r��_s&  rzr��Literal.<locals>.<genexpr>s��
���
�D�A�	
�
�s�)r�)r�r��_value_and_type_iterr�r�r�)rFr��value_and_type_parameters�deduplicated_parameterss&*  rzrr�sm��2)��4�J� $�%9�*�%E� F��#�e�$� �%� $�
�$�e�e�$� �%� $�
�$��� ��>�>r|c� �[UQ02g)a&Special form for marking type aliases.

TypeAlias can be used to indicate 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.
r�r0rys&&rzrkrk#s���t�f�1�2�
3�3r|c�`�UQ6Xc[Q2g[U[2%fU1oUP*QIf)[UP*[2%f[Q2gQn,U1QkUPP2NUP*M3o[	V2!)aGSpecial form for annotating higher-order functions.

``Concatenate`` can be used in conjunction with ``ParamSpec`` and
``Callable`` to represent a higher-order function which adds, removes or
transforms the parameters of a callable.

For example::

    Callable[Concatenate[int, P], int]

See PEP 612 for detailed information.
z&Cannot take a Concatenate of no types..zMThe last parameter to Concatenate should be a ParamSpec variable or ellipsis.z/Concatenate[arg, ...]: each arg must be a type.c3�H:�SF �Do[UR2w�	J	P!3hr��r��r�r�r�s& �rzr��Concatenate.<locals>.<genexpr>Js������A�K��3�'�'����"r�)r�rvr�rr�)rFr�r�s&&@rzrr4s�����R���@�A�A��j�%�(�(� �]�
��r�N�c�!�Z�
�2��	�%J�%J��:�;�	;�
;�C�R�A��C�R��A�R�:�b�>�R�J�#�D�5�5r|c�8�[VQ02o[V12!)a	Special typing construct for marking user-defined type predicate functions.

``TypeGuard`` can be used to annotate the return type of a user-defined
type predicate 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 predicate".

Sometimes it would be convenient to use a user-defined boolean function
as a type predicate.  Such a function should use ``TypeGuard[...]`` or
``TypeIs[...]`` as its return type to alert static type checkers to
this intention. ``TypeGuard`` should be used over ``TypeIs`` when narrowing
from an incompatible type (e.g., ``list[object]`` to ``list[int]``) or when
the function does not return ``True`` for all instances of the narrowed type.

Using  ``-> TypeGuard[NarrowedType]`` 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 ``NarrowedType``.

For example::

     def is_str_list(val: list[object]) -> TypeGuard[list[str]]:
         '''Determines whether all objects in the list are strings'''
         return all(isinstance(x, str) for x in val)

     def func1(val: list[object]):
         if is_str_list(val):
             # Type of ``val`` is narrowed to ``list[str]``.
             print(" ".join(val))
         else:
             # Type of ``val`` remains as ``list[object]``.
             print("Not a list of strings!")

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 predicates is left to the user.

``TypeGuard`` also works with type variables.  For more information, see
PEP 647 (User-Defined Type Guards).
r�r�r�s&& rzrmrmNs$��h�z�V�+E�#F�G�D���w�'�'r|c�8�[VQ02o[V12!)aA special form representing the value that results from the evaluation
of a type expression.

This value encodes the information supplied in the type expression, and it
represents the type described by that type expression.

When used in a type expression, TypeForm describes a set of type form
objects. It accepts a single type argument, which must be a valid type
expression. ``TypeForm[T]`` describes the set of all type form objects that
represent the type T or types that are assignable to T.

Usage::

    def cast[T](typ: TypeForm[T], value: Any) -> T: ...

    reveal_type(cast(int, "x"))  # int

See PEP 747 for more information.
r�r�r�s&& rzrlrl�s#��*�z�V�+E�#F�G�D���w�'�'r|c�8�[VQ02o[V12!)aV
Special typing construct for marking user-defined type predicate functions.

``TypeIs`` can be used to annotate the return type of a user-defined
type predicate function.  ``TypeIs`` only accepts a single type argument.
At runtime, functions marked this way should return a boolean and accept
at least one argument.

``TypeIs`` 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 predicate".

Sometimes it would be convenient to use a user-defined boolean function
as a type predicate.  Such a function should use ``TypeIs[...]`` or
``TypeGuard[...]`` as its return type to alert static type checkers to
this intention.  ``TypeIs`` usually has more intuitive behavior than
``TypeGuard``, but it cannot be used when the input and output types
are incompatible (e.g., ``list[object]`` to ``list[int]``) or when the
function does not return ``True`` for all instances of the narrowed type.

Using  ``-> TypeIs[NarrowedType]`` 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 intersection of the argument's original type and
   ``NarrowedType``.
3. If the return value is ``False``, the type of its argument
   is narrowed to exclude ``NarrowedType``.

For example::

    from typing import assert_type, final, TypeIs

    class Parent: pass
    class Child(Parent): pass
    @final
    class Unrelated: pass

    def is_parent(val: object) -> TypeIs[Parent]:
        return isinstance(val, Parent)

    def run(arg: Child | Unrelated):
        if is_parent(arg):
            # Type of ``arg`` is narrowed to the intersection
            # of ``Parent`` and ``Child``, which is equivalent to
            # ``Child``.
            assert_type(arg, Child)
        else:
            # Type of ``arg`` is narrowed to exclude ``Parent``,
            # so only ``Unrelated`` is left.
            assert_type(arg, Unrelated)

The type inside ``TypeIs`` must be consistent with the type of the
function's argument; if it is not, static type checkers will raise
an error.  An incorrectly written ``TypeIs`` function can lead to
unsound behavior in the type system; it is the user's responsibility
to write such functions in a type-safe manner.

``TypeIs`` also works with type variables.  For more information, see
PEP 742 (Narrowing types with ``TypeIs``).
r�r�r�s&& rzrnrn�s$��B�z�V�+E�#F�G�D���w�'�'r|c���Ud;UOdUOUQ$UOdUOUQ$[OU1-U@oUOU!)Nrsrq)r�	__owner__r�r�__forward_code__)�coderr��forward_refs&$, rzrxrx�sc��� ��+�+�7�,�?�?�F�8���"�"�.�+�5�5�F�7�O��*�*�4�:�6�:�K�� � ��r|rrrrc�|�U[OO6Xc
UO!UOU7cU!Ue[OO
oUO
V#VAUQ5o[U[O2%c"U[OO6XcU![U[2%cB[XpOS9%f
UOUOUOQ5oUe
UOo[!UUUUV`O.*UUUQ5!)a�Evaluate a forward reference as a type hint.

This is similar to calling the ForwardRef.evaluate() method,
but unlike that method, evaluate_forward_ref() also
recursively evaluates forward references nested within the type hint.

*forward_ref* must be an instance of ForwardRef. *owner*, if given,
should be the object that holds the annotations that the forward reference
derived from, such as a module, class object, or function. It is used to
infer the namespaces to use for looking up names. *globals* and *locals*
can also be explicitly given to provide the global and local namespaces.
*type_params* is a tuple of type parameters that are in scope when
evaluating the forward reference. This parameter should be provided (though
it may be an empty tuple) if *owner* is not given and the forward reference
does not already have an owner set. *format* specifies the format of the
annotation and is a member of the annotationlib.Format enum, defaulting to
VALUE.

)rrrrqr�)rsrqr�rt)rr�rqr)r��Format�STRING�__resolved_str__�__forward_arg__�VALUE�evaluatervr�
FORWARDREFrwrxrr��__forward_is_argument__�__forward_is_class__r)r�rqrrrr�r�values&$$$$$$ rzrRrR�s ��:��%�%�,�,�,��+�+�+��"�"�&6�6���
�~��%�%�+�+��� � ��-8�f�
!�
V�E�	�5�-�2�2�3�3��-�.�.�9�9�9����%����!�%�0N�0N�(-�(F�(F��1F�1F�.9�.Q�.Q�+6�+K�+K�M��
�}��%�%���
����(�,G�,G�+H�H���!�	�	r|c�2�U]6�cPgQ[Q[-!�r�r�r��rr�)r�s"rzr��&_is_unpacked_typevartuple.__annotate__.s��N�N��N��Nr|c�\�[U[2%(9%c[UQP
2P	I!)�#__typing_is_unpacked_typevartuple__)rvrur��r�s&rzr�r�.s5���A�t�$�
$�
M�
M��A�<�e�D��L�Nr|c�2�U]6�cPgQ[Q[-!r�r�)r�s"rzr��_is_typevar_like.__annotate__5s��O�O��O��Or|c�V�[U[[129%f[U2!r�)rvrrr�r�s&rz�_is_typevar_liker�5s"���a�'�9�-�.�N�N�2K�A�2N�Nr|c���Qo[VP	Q5o[U[2%cUO[If*[U[
2%c"[
UQP
2%c[UQ02gU!)�*Parameters to generic types must be types.)r�r�r~)r�rvr�r�rorr�r�)rFryr�s&& rz�_typevar_substr�9s^��
6�C�
�c�D�
1�C�	�C��	'�	'�C�N�N�f�,D�	�C��	&�	&�7�3���+N�+N��3�%�=�>�?�?��Jr|c	��UOoUOU2oV4]*PFD'o[U[2%fJ[	QU02g	[U2o[U2oSoVt*
]*
o	Po
Po[
U2FDovq�[U
[2%cJ[U
QP2oU%fJ4[U2]6XfJFUP*QIfJUU
d[	Q2gSo
U]*oJq	U
d&[V�2o[V�U
*
]*
2o	L(V�*U6�c[	QUQUQU]*
02gV�U	*
6Xc-UO2%c[UO2oL
V(Vi*
o,UPUNU,VH*
*NUMU,Vy*
U*
U*
]*
*NV&U	*
PN3!)�z(More than one TypeVarTuple parameter in r�.z6More than one unpacked arbitrary-length tuple argument�Too few arguments for r�z, expected at least )
r��indexrvrr�r��	enumeraterur��minr�r��__default__)rFr�r�r��typevartuple_index�param�alen�plen�left�right�var_tuple_index�fillarg�kryr��replacements&&&             rz�_typevartuple_prepare_substr�Bs���
�
!�
!�F����d�+���Q�.�/�0���e�\�*�*��F�u�g�N�O�O�1��t�9�D��v�;�D��D��%��)�E��O��G��D�/����#�t�$�$��c�#C�T�J�G��w�3�w�<�1�,�����1C�"�.�#�$\�]�]�"#��!�!�*��"��"��4�)���E�/�1�A�5�6��	
���	��0���8#�#'�&�(<�T�!�V�H�F�G�	G��e�|��� 0� 0� 2� 2�"�4�#3�#3�4�����.���	
�e�t����)�'�.�
/��	���)�T�\�D�(�+=�=��A�
B�	�

�U�l�m�	��r|c���[U[[12%c0[9PIc,QU2DMJ	3oU!QU22oU![U2%f[	QU02gU!)c3�F�SF �Do[UQ2w�	J	P!3h)zExpected a type.r��r�rs& rzr��#_paramspec_subst.<locals>.<genexpr>ms������1�K��#5�6�6����!zFExpected a list of types, an ellipsis, ParamSpec, or Concatenate. Got )rvr�r�r�r��rFrys&&rz�_paramspec_substr�ksw���#��e�}�%�%��e�D��D�e�e���J�	�D��D�D���J��C�
 �
 ��:�:=��@�A�	A��Jr|c���UOoUOU2oU[U26Xc(UO2%c,UNUOM3oU[U26�c[QU02g[U2]6Xc'[
U]*2%fU]6XfPgU1oU![V$*[2%c%,UPUN[V$*2MV$]*PN3oU!)r�)
r�r�r�r�r�r�r�rvr�r�)rFr�r�r��is&&&  rz�_paramspec_prepare_substr�ts���
�
!�
!�F����T��A��C��I�~�$�*�*�,�,�(��(�t�'�'�(���C��I�~��0���8�9�9�
�6�{�a���t�A�w� 7� 7��A�v�
�v��w���K�
�D�G�T�	"�	"�7��b�q��7�5���>�7�D�1���J�7���Kr|c��[U[2%fU1o[9PIc,QU2DMJ	3LQU22oU[[17oU%c�U%f[	QUO
Q02g[9PIcQU2D%cJP
L	P	LQU22%f[	QUOQ02g[[U22[U26wc[	QUOQ02gL�UOoSFDo[UQP2oUeJUV2oJ 	[V2,o[!V12FD?vqi[U["2%cUO%U	2J.UO'U	2JA	[U2o[)V2![cKo[SQP2oSP[O.7c!SOQ	SO
8Q
02gPo=hh9h)ajParameterizes a generic class.

At least, parameterizing a generic class is the *main* thing this method
does. For example, for some generic class `Foo`, this is called when we
do `Foo[int]` - there, with `cls=Foo` and `args=int`.

However, note that this method is also called when defining generic
classes in the first place with `class Foo(Generic[T]): ...`.
c3�D�SF �Do[U2w�	J	P!3hr��r{r�s& rzr��)_generic_class_getitem.<locals>.<genexpr>�s��4���4�a��q�!�!�4�r�zParameter list to z[...] cannot be emptyc3�D�SF �Do[U2w�	J	P!3hr�)r�r�s& rzr�r��s������1�#�A�&�&��r�zParameters to zF[...] must all be type variables or parameter specification variables.z[...] must all be uniquer1z-Note: this exception may have been caused by z^ (or the '__init_subclass__' method on a superclass) not calling 'super().__init_subclass__()'�__typing_prepare_subst__)rvr�rrr�r5�allr#r��setr�rKr�r1�add_noter��ziprr�r�r�)
r�r��is_generic_or_protocolr��e�
init_subclassr��prepare�new_args�new_args
&&        rz�_generic_class_getitemr�s����d�E�"�"��w���5�0�4�0�5�5�0�4�0�0�D� �W�h�$7�7�����$�S�%5�%5�$6�6K�L��
��s�5��5�s�s�s�5��5�5�5�� �����/8�9�:�
:��s�4�y�>�S��Y�&�� �����.F�G�I�
I�'�
	��+�+�J� �E��e�%?��F�G��"��s�)�� �	&�c�0���!�*�3�N�E��%��.�.�����(�����(�	4�
�X�����#�#��1�		�#�C�)<�d�C�M��T�7�+D�+D�$E�E��
�
�C�$�1�1�4�5<�=��
��		�s$�
F0�0	H�:H�;#H�!H�Hc	�n`�[[U_
U-U@,oQUO7c[UO7oLD[UO
79%c*UOQ6g9%c[U2[6goU%c[Q2gQUO7c�[UOP	Q5oPoPoUOFDio[U[2%fJUO[[17fJ8Ud[Q2gUOoUOOoJk	Udf[!U2o[!U2nUR6:fGQO#U1QkU22o	QO#QU22o
[QU	Q	UQ
U
Q02gSo[%U2UmP!)�__orig_bases__rz!Cannot inherit from plain Generic)r�z0Cannot inherit from Generic[...] multiple times.r�c3�V:�SF �DpR7fJ[U2w�	J	P!3hr�r)r�r��gvarsets& �rzr��)_generic_init_subclass.<locals>.<genexpr>�s��5���5�a�W�<L�6�3�q�6�6�5�s�)�)c3�D�SF �Do[U2w�	J	P!3hr�r)r��gs& rzr�r�s��5���5�a�3�q�6�6�5�r�zSome type variables (z) are not listed in r�r�)r�rr1rr�	__bases__r#ru�_TypedDictMetar�r�rvr�r�rr�r�r�r�)r�r�r��tvars�error�gvars�basename�base�tvarset�s_vars�s_argsrs&*,        @rz�_generic_init_subclassr�s����	�'�3�)�4�:�6�:��E��3�<�<�'��3�-�-�-���C�M�M�)�0�0��L�L�J�.�0�0���I��/�	�
��;�<�<��3�<�<�'�(��);�);�$�O�������&�&�D��4��/�/��O�O���':�:��$�#�J�L�L��+�+���?�?�3�3��'����%�j�G��%�j�G��g�%����"M�5�"M�M�����"9�5�"9�9���"7��x�@2�2:��1�V�H�A�!G�H�H��E��u��C�r|c�X�UOQ29%cUOQ2!)�__)�
startswith�endswith)�attrs&rz�
_is_dunderr�s"���?�?�4� �8�8�T�]�]�4�%8�8r|c�t``�\sQsQsnQsQP	QP-QksQsQsQsU1Q	ks	Q
s
QsU1QksQ
s
UsU9s!)�_BaseGenericAliasi�a�The central part of the internal API.

This represents a generic version of type 'origin' with type arguments 'params'.
There are two kind of these aliases: user defined and special. The special ones
are wrappers around builtin collections and ABCs in collections.abc. These must
have 'name' always set. If 'inst' is False, then the alias can't be instantiated;
this is used by e.g. typing.List and typing.Dict.
�inst�namec�:�V mV0mVmPUmP!r�)�_instrEr�r8)rF�originrrs&&$$rzrH�_BaseGenericAlias.__init__�s���
��
� ����r|c���UO%f1[QUOQUOOQ02gUOU-U@oVmU![cS!h9h)zType z cannot be instantiated; use z
() instead)r!r�rEr�r#�__orig_class__�	Exception)rFr�r��results&*, rzrb�_BaseGenericAlias.__call__�s���z�z�z��e�D�J�J�<�0#�#'�?�?�#;�#;�"<�J�H�I�
I����$�1�&�1��	�$(�!�
�
���	���
�	�s�A � 	A/�*A/�.A/c�b�,oUOU7cUOUO2UOU2oV]*PFD�o[U[2%cL�[U[
2%fv[
UQP2oU%c	UU2LPo[U[2%c?[9PIcQU2D%fJP	L	P
LQU22%cL6J�J�[U[2%fJ�L	UO[2[U2!)r�rSc3�~�SF �D.o[U[29%c[U[2w�	J0	P!3hr�)rvru�
issubclassr)r��b2s& rzr��4_BaseGenericAlias.__mro_entries__.<locals>.<genexpr>s/��"+���"+�B�#�2�t�,�H�H��B��1H�H�"+�s�=�=)r�r�r�rvrrur�r��anyr+r)rFrR�resr��b�meth�	new_basess&&     rzrS�!_BaseGenericAlias.__mro_entries__
s������?�?�%�'��J�J�t���'�
�K�K������s�t��A��!�.�/�/���a��&�&��q�"3�T�:��+/�D��K�T�	��y�%�0�0��C��"+��C�C�C��"+����
��1��A�w�'�'���"
�J�J�w���S�z�r|c���UQ7c+UO9%fUOO!QUO7c([	U2%f[UOU2![
U2g)r#r�>r#r5)rEr�r#rrr�rK)rFrs&&rzrM�_BaseGenericAlias.__getattr__*s[���/�/��:�:�9�9����!9�!9�9��4�=�=�(��D�1A�1A��4�?�?�D�1�1��T�"�"r|c�:�[U2%fUQ7c[RU_	V2P![UOV2P!)rE>r!rE�_nparams�	_defaults)rr��__setattr__�setattrr�)rFr�valr�s&&&�rzr9�_BaseGenericAlias.__setattr__4s1����d���t�'R�R��G���*��D�O�O�T�/r|c�8�UO[U22!r�)rvrurps&&rzrq�#_BaseGenericAlias.__instancecheck__:s���%�%�d�3�i�0�0r|c��[Q2g)zBSubscripted generics cannot be used with class and instance checksr0rus&&rzrv�#_BaseGenericAlias.__subclasscheck__=s���5�6�	6r|c��:�[[[RU_
2[	UO
2Tt,tFDo[
U2%cJUMJ	to*22!ttohr�)r�r�r��__dir__�dirr�r�rFrr�s& �rzrB�_BaseGenericAlias.__dir__AsR����C����)�$'����$8�Q�$8�D�
�4�@P�4�4�$8�Q�R�S�T�	T��Qs�A!�
A!)r�r8r!rE)r#r4r5r6r7rHrbrSrMr9rqrvrBr9r:r�r�s@@rzrr�sH������t��$����@#�0�1�6�T�Tr|rc�``�\sQsQsnQsQP	QP-U1QkksQsQsQsQ	s	\
Q
2sQsQs
Q
sQsQsU1QksQsQsUsU9s!)r�iQa�The type of parameterized generics.

That is, for example, `type(List[int])` is `_GenericAlias`.

Objects which are instances of this class include:
* Parameterized container types, e.g. `Tuple[int]`, `List[int]`.
 * Note that native container types, e.g. `tuple`, `list`, use
   `types.GenericAlias` instead.
* Parameterized classes:
    class C[T]: pass
    # C[int] is a _GenericAlias
* `Callable` aliases, generic `Callable` aliases, and
  parameterized `Callable` aliases:
    T = TypeVar('T')
    # _CallableGenericAlias inherits from _GenericAlias.
    A = Callable[[], None]  # _CallableGenericAlias
    B = Callable[[T], None]  # _CallableGenericAlias
    C = B[int]  # _CallableGenericAlias
* Parameterized `Final`, `ClassVar`, `TypeForm`, `TypeGuard`, and `TypeIs`:
    # All _GenericAlias
    Final[int]
    ClassVar[float]
    TypeForm[bytearray]
    TypeGuard[bool]
    TypeIs[range]

Note that instances of this class are not classes (e.g by `inspect.isclass`),
even though they behave like them.
rrc�6:�[RU_VUQ5[U[2%fU1o[9PIc,QU2DMJ	3LQU22UmU[
[17o[UUQ5UmU%fUOUm	P!P!)�rrc3�J�SF �DoU[IcQLSw�	J	P!3hr�)�_TypingEllipsisr�s& rzr��)_GenericAlias.__init__.<locals>.<genexpr>ss%��)-���)-�A�&'�/�%9�c�� �)-�s�#�
#)r�)
r�rHrvr�r�rrr�r�r4)rFr"r�rrr�r�s&&&$$ �rzrH�_GenericAlias.__init__os����
������6��$��&�&��7�D���/�)-�/���/�)-�/�/��
�#)�g�x�-@�#@� �6��%=�
����$�/�/�D�O�r|c��[U[2%f[!UOUO6H9%cUOUO6H!r�)rvr��NotImplementedr�r�rfs&&rz�__eq__�_GenericAlias.__eq__}sF���%��/�/�!�!����5�#3�#3�3�4�4��M�M�U�^�^�3�	5r|c�F�[UOUO12!r�)�hashr�r�rYs&rz�__hash__�_GenericAlias.__hash__�s���T�_�_�d�m�m�4�5�5r|c� �[V1*!r�re�rFr�s&&rzrh�_GenericAlias.__or__�rjr|c� �[V1*!r�re�rFr�s&&rzrl�_GenericAlias.__ror__�����T�Z� � r|c�0�UO[[17c[QU02gUO%f[UQ02g[U[2%fU1o[QU2oUOU2oUOU2oU!)a�Parameterizes an already-parameterized object.

For example, we arrive here doing something like:
  T1 = TypeVar('T1')
  T2 = TypeVar('T2')
  T3 = TypeVar('T3')
  class A(Generic[T1]): pass
  B = A[T2]  # B is a _GenericAlias
  C = B[T3]  # Invokes _GenericAlias.__getitem__

We also arrive here when parameterizing a generic `Callable` alias:
  T = TypeVar('T')
  C = Callable[[T], None]
  C[int]  # Invokes _GenericAlias.__getitem__
z%Cannot subscript already-subscripted r�c3�D�SF �Do[U2w�	J	P!3hr�r�r�s& rzr��,_GenericAlias.__getitem__.<locals>.<genexpr>�s������1�m�A�.�.��r�)
r�rrr�r�rvr�r��_determine_new_argsr')rFr�r�rs&&  rzrz�_GenericAlias.__getitem__�s���$�?�?�w��1�1��C�D�6�J�K�K��"�"�"��t�f�$;�<�=�=��$��&�&��7�D��=��=�>���+�+�D�1���N�N�8�$���r|c
�N�UOoSFDo[UQP2oUeJUV2oJ 	[U2o[U2oVV6wc [QVV6�cQLQQUQUQU02g[	[V!22o[
UOUOU22!)a�Determines new __args__ for __getitem__.

For example, suppose we had:
  T1 = TypeVar('T1')
  T2 = TypeVar('T2')
  class A(Generic[T1, T2]): pass
  T3 = TypeVar('T3')
  B = A[int, T3]
  C = B[str]
`B.__args__` is `(int, T3)`, so `C.__args__` should be `(int, str)`.
Unfortunately, this is harder than it looks, because if `T3` is
anything more exotic than a plain `TypeVar`, we need to consider
edge cases.
r�r�r�r�r�r�r�)	r�r�r�r�r�r�r��_make_substitutionr�)rFr�r�r�rr�r��new_arg_by_params&&      rzr_�!_GenericAlias._determine_new_args�s����$�$���E��e�%?��F�G��"��t�*����4�y���6�{���<��d�T�[�6�e�"D�O�TX�SY�Z'�'+�f�K��v�?�@�
@���F� 1�2���T�,�,�T�]�]�<L�M�N�Nr|c
�L�,oSFCD�o[U[2%cUOU2J-[UQP2oU%cUV$*2oL|[UQQ2oU%fSoLd,oSFDIo	[U	[2%cUOV)*2J2UOV)*2JK	U[
U2*oUO[OO6Xc+[U[2%cUOU2CJ [U2%cUOU2CJE[U[2%c-UO[
UOVB222CJ�UOU2CJ�	U!)z$Create a list of new type arguments.r�r�r�)
rvrur�r�rr�r�r�r�r�rr�rc)
rFr�rdr�old_arg�	substfuncr�	subparamsr�r�s
&&&       rzrc� _GenericAlias._make_substitution�s?�����G��'�4�(�(�����(����);�T�B�I��#�$4�$=�>��#�G�-=�r�B�	� �%�G� �G�&��%�a��6�6�#�N�N�+;�+>�?�#�N�N�+;�+>�?�	'�
&�e�G�n�5�G����+�/�/�":�":�:�z�'�SX�?Y�?Y�����(�*�7�3�3�����(��G�U�+�+�����$�1�1�'�L�M������(�q�r�r|c�h�UOUOVOUOQ5!�)rr)r�r�rEr!�rFr�s&&rzr'�_GenericAlias.copy_withs#���~�~�d�o�o�t�*�*�4�:�:�~�V�Vr|c	�(�UO%cQUO*oL[UO2oUO%c7QO	UOTt,tFDo[U2MJ	to2oLQoUQUQ0!ttoh)rWr�z()r�r�)rEr�r�r�r�)rFrrr�s&   rzrZ�_GenericAlias.__repr__
su���:�:�:��t�z�z�)�D��d�o�o�.�D��=�=�=��9�9�T�]�]�C�]��j��m�]�C�D�D��D���q���a� � ��	Ds�'Bc�*�UO%c[2UO*oLUOo[UO2o[U2]6Xc"[
U]*[2%fUvo[OV11!�r�)	rErr�r�r�r�rvr%rG)rFr"r�s&  rzr^�_GenericAlias.__reduce__sg���:�:�:��Y�t�z�z�*�F��_�_�F��T�]�]�#���t�9��>�*�T�!�W�e�"<�"<��E�D����&��/�/r|c�:�[UO[2%c[QU802gUO%c[
RU_U2!UO[IcT[U7cQ!UOU2oV]*PFD%o[U[2%fJV0IfJ"Qt!	UO1!)rPr�)rvr�r�r�rEr�rSrrr�r)rFrRr�r0r�s&&  �rzrS�_GenericAlias.__mro_entries__ s�����d�o�o�|�4�4��.�t�h�7�8�8��:�:�:��7�*�5�1�1��?�?�g�%��5� ��	����D�!�A��Q�3�4�[���a�!2�3�3��
��I�!����!�!r|c#�0 �[U*w�	P!3hr�)rorYs&rzr@�_GenericAlias.__iter__/s����T�l��s�)r�r4r�)r#r4r5r6r7rHrOrSrhrlr�rzr_rcr'rZr^rSr@r9r:r�r�s@@rzr�r�Qsp�����:0�T�0��0�5�6�"�!�����>O�:<�|W�
!�0�
"��r|r�c�~``�\sQsQsnQP	QPQQ-U1Qkks\Q2sQsQsU1Q	ks	Q
s
QsQsQ
s
UsU9s!)�_SpecialGenericAliasi7rr�defaultsc�:�Ue
UOo[RU_	VUQ5V mVPmUO
Q6XcQUOQ0UmP!QUO
QUOQ0UmP!)NrH�builtinszDeprecated alias to r)r#r�rHr7r8r4r5r7)rFr"�nparamsrrrzr�s&&&$$$�rzrH�_SpecialGenericAlias.__init__8sw����<��?�?�D�
������6��
�!�����
�*�1�&�2E�2E�1F�a�H�D�L�1�&�2C�2C�1D�A�f�FY�FY�EZ�Z[�\�D�Lr|c
�F`�[U[2%fU1oQn[9PIc,U1QkU2DMJ	3LU1QkU22oUO%c}[U2UO6cc[U2[UO2*UO6�c/,UNUO[U2UO*
PN3o[U2oV O6wc�UO%c+QUO[UO2*
0oL[UO2oUO%f[
UQ02g[
QV O6�cQLQQUQUQ	U02gUOU2!)
r�c3�H:�SF �Do[UR2w�	J	P!3hr�r�r�s& �rzr��3_SpecialGenericAlias.__getitem__.<locals>.<genexpr>H���F���F�q�{�1�c�*�*�F�r�r�r�r�r�r�r�r�r�)rvr�r8r�r7rwr�r')rFr�r��expectedr�s&&  @rzrz� _SpecialGenericAlias.__getitem__CsN����&�%�(�(��Y�F�:����;�F�;���;�F�;�;���N�N�N��F��d�m�m�+��F��c�$�.�.�1�1�T�]�]�B�M�v�M����s�6�{�T�]�]�/J�/K� L�M�F���[�
����&��~�~�~�&�t�}�}�s�4�>�>�7J�'J�&K�L���t�}�}�-���=�=�=��4�&�(?� @�A�A��d�Z�-�-�-G�6�U�"S�Sb�cg�bh�i'�'1�l�+�h�Z�I�J�
J��~�~�f�%�%r|c�^�[UOUUOUOQ5!rl)r�r�rEr!�rFr�s&&rzr'�_SpecialGenericAlias.copy_with[s$���T�_�_�f�"&�*�*�4�:�:�?�	?r|c�*�QUO*!rVrXrYs&rzrZ�_SpecialGenericAlias.__repr___r\r|c��:�[U[2%c![UOUO2![U[2%f[VO2![
RU_U2!r�)rvryr+r�r�r�rv)rFr�r�s&&�rzrv�&_SpecialGenericAlias.__subclasscheck__bsR����c�/�0�0��c�n�n�d�o�o�>�>��#�}�-�-��c�?�?�3�3��w�(��-�-r|c��UO!r�rXrYs&rzr^�_SpecialGenericAlias.__reduce__ir`r|c� �[V1*!r�rerVs&&rzrh�_SpecialGenericAlias.__or__lrjr|c� �[V1*!r�rerYs&&rzrl�_SpecialGenericAlias.__ror__or[r|)r7r8r7r�)r#r4r5r6rHr�rzr'rZrvr^rhrlr9r:r�r�s@@rzryry7sZ����	]��	]�4�	]�"�	]��&��&�.?�&�.��"�!�!r|ryc�:``�\sQsQsnU1QksQsQsUsU9s!)�_CallableGenericAliasisc
�D:�UOQ6XfPgUOo[U2]6Xc'[U]*2%c[RU_2!QQO
UPPTt,tFDo[U2MJ	to2Q[UP*2Q0!ttoh)rztyping.Callable[[r�z], r�)rEr�r�r�r�rZr�r�)rFr�rr�s&  �rzrZ�_CallableGenericAlias.__repr__ts�����z�z�Z�'�'�'��}�}���t�9��>�n�T�!�W�5�5��7�#�%�%���Y�Y�t�C�R�y�A�y�!�
�1�
�y�A�B�C�3��d�2�h�'�(��+�	,��As�*B
c���UOo[U2]6Xc[U]*2%f[UPP2UP*1o[O
[U11!�r�)r�r�r�r�r%rGrrms& rzr^� _CallableGenericAlias.__reduce__}sR���}�}���D�	�Q��>�$�q�'�#:�#:���S�b�	�?�D��H�,�D����(�D�!1�1�1r|r�)	r#r4r5r6rZr^r9r:r�r�s@@rzr�r�ss����,�2�2r|r�c�>`�\sQsQsnQsQs\Q2sQsUs	P!)�
_CallableTypei�c�^�[UOUUOUOQ5!rl)r�r�rEr!r�s&&rzr'�_CallableType.copy_with�s&��$�T�_�_�f�*.�*�*�4�:�:�G�	Gr|c���[U[2%c[U2]6wc[Q2gUvq#[U[2%c[U2U1oLV#1oUOU2!)r�z6Callable must be used as Callable[[arg, ...], result].)rvr�r�r�r��__getitem_inner__)rFr�r�r's&&  rzrz�_CallableType.__getitem__�sh���&�%�(�(�C��K�1�,<��<�=�
=�����d�D�!�!��D�k�6�*�F��^�F��%�%�f�-�-r|c�$�Uvq#Qo[V42oU[IcUO[U12![	U[
2%fU1o[
9PIc,QU2DMJ	3LQU22oV#1*oUOU2!)z.Callable[args, result]: result must be a type.c3�D�SF �Do[U2w�	J	P!3hr�r�)r�rys& rzr��2_CallableType.__getitem_inner__.<locals>.<genexpr>�s��4���4�C�]�3�'�'�4�r�)r��Ellipsisr'rJrvr�)rFr�r�r'r�s&&   rzr��_CallableType.__getitem_inner__�s�����>���V�)���8���>�>�?�F�";�<�<��$��&�&��7�D��u�8�4�8�u�u�8�4�8�8���	�!���~�~�f�%�%r|r�)
r#r4r5r6r'rzr�r�r9r:r;s@rzr�r��s$����G�.��
&��
&r|r�c�2`�\sQsQsn\Q2sQsUsP!)�
_TupleTypei�c�`�[U[2%fU1o[U2]6�caUP*QIcTQn[9PIc,U1QkUPP2DMJ	3LU1QkUPP22oUO,UN[M32!Qn[9PIc,U1QkU2DMJ	3LU1QkU22oUOU2!)r�.z Tuple[t, ...]: t must be a type.c3�H:�SF �Do[UR2w�	J	P!3hr�r�r�s& �rzr��)_TupleType.__getitem__.<locals>.<genexpr>�s������1�;�q�#�.�.��r�z*Tuple[t0, t1, ...]: each t must be a type.c3�H:�SF �Do[UR2w�	J	P!3hr�r�r�s& �rzr�r��r�r�)rvr�r�r'rJ)rFr�r�s&&@rzrz�_TupleType.__getitem__�s�����&�%�(�(��Y�F��v�;�!���r�
�c� 1�4�C��U�D��s���D�U�U�D��s���D�D�F��>�>�"<�F�"<�O�"<�=�=�:����;�F�;���;�F�;�;���~�~�f�%�%r|r�)r#r4r5r6r�rzr9r:r;s@rzr�r��s�����	&��	&r|r�c�R`�\sQsQsnU1QkQksU1QkQksQsQsQsUs	P!)	�_UnionGenericAliasMetai�c�(:�U]6�cPgQRZQRZ-!�r�rr�)r�r�)r�r<s"�rzr��5_UnionGenericAliasMeta.__instancecheck__.__annotate__�s���'�'�f�'��'r|c�R�]PHoUOQQQ5[U[2!�r�_UnionGenericAlias��remove���)r	�_deprecatedrvr
�rFrr	s&& rzrq�(_UnionGenericAliasMeta.__instancecheck__��&������1�'��B��$��&�&r|c�(:�U]6�cPgQRZQRZ-!r��rur�)r�r<s"�rzr��5_UnionGenericAliasMeta.__subclasscheck__.__annotate__�s���'�'�d�'�t�'r|c�R�]PHoUOQQQ5[U[2!r�)r	r�r+r
r�s&& rzrv�(_UnionGenericAliasMeta.__subclasscheck__�r�r|c�j�]PHoUOQQQ5U[IfU[IcP	![!r�)r	r�r�r
rN)rFrgr	s&& rzrO�_UnionGenericAliasMeta.__eq__�s1������1�'��B��&�&�%�5�.���r|c�"�[[2!r�)rRr
rYs&rzrS�_UnionGenericAliasMeta.__hash__�s���E�{�r|r�)
r#r4r5r6rqrvrOrSr9r:r;s@rzr�r��s(����'�'�
'�'�
��r|r�c�4`�\sQsQsnQsQP-QksQsUsP!)r�i�z�Compatibility hack.

A class named _UnionGenericAlias used to be used to implement
typing.Union. This class exists to serve as a shim to preserve
the meaning of some code that used to use _UnionGenericAlias
directly.

rc�L�]PHoUOQQQ5[U*!r�)r	r�r
)r��self_clsr�rr	s"""$ rzr��_UnionGenericAlias.__new__�s$������1�'��B��Z� � r|r�)r#r4r5r6r7r�r9r:r;s@rzr�r��s�����!�d�!�!r|r�c��QU2!)c3�F�SF �Dp[U21w�	J	P!3hr�)rur�s& rzr��'_value_and_type_iter.<locals>.<genexpr>�s��*���*�Q��Q��L�*�r�r�)r�s&rzr�r��s
��-�*�-�-r|c�.`�\sQsQsnQsQsQsUsP!)r�i�c��[U[2%f[![[	UO
22[[	UO
226H!r�)rvr�rNr�r�r�rfs&&rzrO�_LiteralGenericAlias.__eq__�sB���%�!5�6�6�!�!��'��
�
�6�7�3�?S�TY�Tb�Tb�?c�;d�d�dr|c�R�[[[UO222!r�)rR�	frozensetr�r�rYs&rzrS�_LiteralGenericAlias.__hash__�s���I�2�4�=�=�A�B�C�Cr|r�)r#r4r5r6rOrSr9r:r;s@rzr�r��s����e�D�Dr|r�c�4``�\sQsQsnU1QksQsUsU9s!)r�i�c�:�[UP*[[12%c,UPPNUP*N3![UP*[2%c,UPPNUP*ON3o[
RU_U2!rr)rvr�r�r�r�r�r')rFr�r�s&&�rzr'�"_ConcatenateGenericAlias.copy_with�ss����f�R�j�4��-�0�0�.�V�C�R�[�.�6�"�:�.�.��f�R�j�":�;�;�9�v�c�r�{�9�V�B�Z�%8�%8�9�F��w� ��(�(r|r�)r#r4r5r6r'r9r:r�r�s@@rzr�r��s����)�)r|r�c�:�[VQ02o[V1Q5!)amType unpack operator.

The type unpack operator takes the child types from some container type,
such as `tuple[int, str]` or a `TypeVarTuple`, and 'pulls them out'.

For example::

    # For some generic class `Foo`:
    Foo[Unpack[tuple[int, str]]]  # Equivalent to Foo[int, str]

    Ts = TypeVarTuple('Ts')
    # Specifies that `Bar` is generic in an arbitrary number of types.
    # (Think of `Ts` as a tuple of an arbitrary number of individual
    #  `TypeVar`s, which the `Unpack` is 'pulling out' directly into the
    #  `Generic[]`.)
    class Bar(Generic[Unpack[Ts]]): ...
    Bar[int]  # Valid
    Bar[int, str]  # Also valid

From Python 3.11, this can also be done using the `*` operator::

    Foo[*tuple[int, str]]
    class Bar(Generic[*Ts]): ...

And from Python 3.12, it can be done using built-in syntax for generics::

    Foo[*tuple[int, str]]
    class Bar[*Ts]: ...

The operator can also be used along with a `TypedDict` to annotate
`**kwargs` in a function signature::

    class Movie(TypedDict):
        name: str
        year: int

    # This function expects two keyword arguments - *name* of type `str` and
    # *year* of type `int`.
    def foo(**kwargs: Unpack[Movie]): ...

Note that there is only some runtime checking of this operator. Not
everything the runtime allows is accepted by static type checkers.

For more information, see PEPs 646 and 692.
r�)r"r�)r��_UnpackGenericAliasr�s&& rzroro�s$��^�z�V�+E�#F�G�D��d��9�9r|c�Z``�\sQsQsnQsU1Qks\Q2s\Q2sQs	Us
U9s!)r�i#c�D�Q[UO]*2Q0!)ztyping.Unpack[r�)r�r�rYs&rzrZ�_UnpackGenericAlias.__repr__$s"�� �
�4�=�=��+;� <�=�Q�?�?r|c�L:�UO%cU![RU_	U2!r�)r�r�rz)rFr�r�s&&�rzrz�_UnpackGenericAlias.__getitem__)s$����3�3�3��K��w�"�4�(�(r|c�*�UO[IfPg[UO2]6XfPgUOvo[	U[
[O12%c,UO[Ic[Q2gUO!P!)r�z*Unpack[...] must be used with a tuple type)
r�ror�r�rvr��typesrr�r�r�s& rzr��2_UnpackGenericAlias.__typing_unpacked_tuple_args__.ss�����&�(�(�(��4�=�=�!�Q�&�&�&��}�}����c�M�5�+=�+=�>�?�?��~�~�U�*�� L�M�M��<�<��r|c��UO[IfPg[UO2]6XfPg[	UO]*[
2!rr)r�ror�r�rvrrYs&rzr��7_UnpackGenericAlias.__typing_is_unpacked_typevartuple__9sA�����&�(�(�(��4�=�=�!�Q�&�&�&��$�-�-��*�L�9�9r|r�)r#r4r5r6rZrz�propertyr�r�r9r:r�r�s@@rzr�r�#s=����@�
)�
�����:��:�:r|r�c��\sQsQsQsQsP!)rJi@z(Internal placeholder for ... (ellipsis).r�)r#r4r5r6r7r9r�r|rzrJrJ@s��2r|rJ�_MutableMapping__markerc��[2oUOPPFDroUOQ7cJUOo,UONUNFD:oUOQ2%cJU[7fJ)UOU2J<	Jt	U![c4[
OS[
OOQ5oK�h9h)z�Collect protocol members from a protocol class objects.

This includes names actually defined in the class dictionary, as well
as names that appear in annotations. Special names (above) are skipped.
�r��_abc_>rr)
r��__mro__r#�__annotations__r&r��get_annotationsr�r�rr�EXCLUDED_ATTRIBUTES�add)r��attrsr�annotationsrs&    rz�_get_protocol_attrsr�Ws���
�E�E����C�R� ���=�=�3�3��	��.�.�K�3�d�m�m�2�k�2�D��?�?�7�+�+��<O�0O��	�	�$��3�!��L���	�'�7�7��]�1�1�<�<��K�	�s�B�	C�1C�Cc�j�[U2oUO%c[Q2gUO[IcP!UO
FD6oUOOQ[2oU[IfJ/VSmL	[OUmUOU,UN3-U@P!)z Protocols cannot be instantiatedrH)	ru�_is_protocolr�rH�_no_init_or_replace_initr�rr"r�)rFr�r�r�r�inits&*,   rzr�r�ns���
�t�*�C�
�����:�;�;��|�|�3�3�������}�}� � ��-E�F���/�/��L��	�������L�L��'��'��'r|c��[OU]*29%fS![cLh9h[OS]*2OOQS2![[1cP!h9h)r�r#)r �_getframemodulenamerK�	_getframe�	f_globalsr"�
ValueError)�depth�defaults&&rz�_callerr��s{��
��&�&�u�q�y�1�<�<�W�<���
��
��
��}�}�U�Q�Y�'�1�1�5�5�j�'�J�J���J�'�
���
�s+�#*�*�	8�8�8�6A3�3B�B�Bc� �[U2Q7!)z�Allow instance and class checks for special stdlib modules.

The abc and functools modules indiscriminately call isinstance() and
issubclass() on the whole MRO of a user class, which may contain protocols.
>Nr��_py_abcr�)r�)r�s&rz�_allow_reckless_class_checksr��s���5�>�B�B�Br|zcollections.abc�
contextlib�AbstractContextManager�AbstractAsyncContextManager�io�Reader�Writer�os�PathLikec��]QHGoU!)r��getattr_static)�inspectr	rs rz�_lazy_load_getattr_staticr�s
��'��r|c�*�[UO11!r�)r	r�)�psargss&rz�_pickle_psargsr�s���6�,�,�.�.�.r|c�*�[UO11!r�)r
r�)�pskwargss&rz�_pickle_pskwargsr�s���X�0�0�2�2�2r|c�J�[U[2%f[Q2gP!)a�Raise TypeError if `arg` is not an instance of `type`
in `issubclass(arg, <protocol>)`.

In most cases, this is verified by type.__subclasscheck__.
Checking it again unnecessarily would slow down issubclass() checks,
so, we don't perform this check unless we absolutely have to.

For various error paths, however,
we want to ensure that *this* error message is shown to the user
where relevant, rather than a typing.py-specific error message.
z"issubclass() arg 1 must be a class)rvrur�r�s&rz�_type_check_issubclass_arg_1r�s"���c�4� � ��<�=�=�!r|c�L``�\sQsQsnU1QksU1QksQsQsQsUs	U9s
!)�
_ProtocolMetai�c�v:�UQ6XcU[16XcL�[U7c�SFDoU[[.7cJUO[OUO,27cJG[U[2%c[UQP
2%cJr[QU802g	[RU_,VV#1-U@!)rr�z5Protocols can only inherit from other protocols, got )rrr�r#�_PROTO_ALLOWLISTr"r4r+r�r�r�r�)�mclsrrR�	namespacer�rr�s"""", �rzr��_ProtocolMeta.__new__�s�����:��%�G�:�"5��
��
����V�W�-�-��}�}�(8�(<�(<�T�_�_�b�(Q�Q�"�4��1�1�#�D�.�%�@�@�$��#�h�(�����w��t�5�F�v�F�Fr|c�v:�[RU_U-U@[UQP
2%c[U2UmP!P!)r�)r�rHr�r��__protocol_attrs__r�s&*,�rzrH�_ProtocolMeta.__init__�s6���
���$�)�&�)��3���.�.�%8��%=�C�"�/r|c�:�U[Ic[OV2![UQP
2%c�[	2%f�[UQP
2%f[U2[
Q2g[UQP
2%c#]PHoU8Q0oUOU[]Q5UO%c_UOOQ2[Ic<[U2[UO2o[
Q[U2]PQ02g[!V2!)	r��_is_runtime_protocol�LInstance and class checks can only be used with @runtime_checkable protocols�3__typing_is_deprecated_inherited_runtime_protocol__�� isn't explicitly decorated with @runtime_checkable but it is used in issubclass() or isinstance(). Instance and class checks can only be used with @runtime_checkable protocols. This will raise a TypeError in Python 3.20.r�__subclasshook__zRProtocols with non-method members don't support issubclass(). Non-method members: r)rrurvr�r�rr�r	r
r�__non_callable_proto_members__rr"�_proto_hook�sortedrw�_abc_subclasscheck)r�rgr	r�non_method_attrss&&   rzrv�_ProtocolMeta.__subclasscheck__�s���(�?��)�)�#�5�5��C���/�/�0�2�2��3� 6��>�>�,�U�3��3����s�Q�SX�Y�Y���g�B�B���
�
�l�5G�TU�
�V��2�2�2��L�L�$�$�%7�8�K�G�,�U�3�#)�#�*L�*L�#M� ��,�,/�0@�,A�!�B�,G�+H��K���"�#�-�-r|c��U[Ic[OV2![UQP
2%f[	V2![UQP
2%f[2%f[
Q2g[UQP
2%c#]PHoU8Q0oUOU[]Q5[	V2%cP	![2oUOFD&oUV2oUdJVPO7fJ$P
!	P	![cP
!h9h)r�rr r!r"r)rrurqr��_abc_instancecheckr�r�r	r
rrrrKr$)r��instancer	rr	rr;s&&     rzrq�_ProtocolMeta.__instancecheck__s���(�?��)�)�#�8�8��s�N�E�2�2�%�c�4�4���3�U�;�;�,�.�.��<�=�
=��3�M�u�U�U���'�>�>�
�
�M�M�,�1C�PQ�M�R��c�,�,��2�4���*�*�D�
�$�X�4���{�t�+M�+M�M���+���
"�
���
�s�C8�8	D	�D	�D	r�)r#r4r5r6r�rHrvrqr9r:r�r�s@@rzrr�s ����G�&>�
".�H+�+r|rc
�*�UOOQP
2%f[!UOFD�oUOFD|oV#O7c&UOU*e
[tt!JH[U[2%fJP[UQP
2%fJeUOoV$7fJzJ�	[t!	P	![c4[OS[OOQ5oKXh9h)r�r�)rr"rNrr�r+rr�r�r&r�r�r�r�)r�rgrr�annoss&&   rzr%r%Js����<�<���N�E�2�2����&�&���M�M�D��}�}�$��=�=��&�.�)�)���%��)�)�g�e�^�U�.S�.S�� �0�0�E�
�=��%"�("�!�+'�,��!��)�9�9��]�%9�%9�%D�%D��E��s�-C�	D�1D�Dc�D``�\sQsQsnQsQsP	sP
sU1QksQs	Us
U9s!)rihaBase class for protocol classes.

Protocol classes are defined as::

    class Proto(Protocol):
        def meth(self) -> 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.runtime_checkable act as simple-minded runtime protocols that check
only the presence of given attributes, ignoring their type signatures.
Protocol classes can be generic, they are defined as::

    class GenProto[T](Protocol):
        def meth(self) -> T:
            ...
c�:�[RU_U-U@UOOQP
2%fM[9PIc&QUO
2D%fJP	L	P
LQUO
22UmUO%c[UQP
2%cP	UmQUO7c[Um
UO%c.UO[OIc[UmP!P!P!)r�c3�<�SF �D
p[Iw�	J	P!3hr��r�r�r0s& rzr��-Protocol.__init_subclass__.<locals>.<genexpr>�s��-���-�Q��=�-�s�rr#)r�r1rr"r.rr�r�r!r%r#rHrr�r�s&*,�rzr1�Protocol.__init_subclass__�s����
��!�4�2�6�2��|�|�����6�6�"�s�"H�#�-�-�"H�s�s�s�"H�#�-�-�"H�H�C��������-C�U� K� K�FJ�C�C��S�\�\�1�#.�C� ���������0A�0A� A�3�C�L�!B�r|r�)r#r4r5r6r7r8r�rr1r9r:r�r�s@@rzrrhs'�����@�I��L� ��4�4r|c�h``�\sQsQsnQsU1QksQsQsQsQs	Qs
U1Q	ksQ
sQs
UsU9s!)�_AnnotatedAliasi�aiRuntime representation of an annotated type.

At its core 'Annotated[t, dec1, dec2, ...]' is an alias for the type 't'
with extra metadata. The alias behaves like a normal typing alias.
Instantiating is the same as instantiating the underlying type; binding
it to types is also the same.

The metadata itself is stored in a '__metadata__' attribute as a tuple.
c�:�[U[2%c UOU*oUOo[RU_VQQ5V mP!)r�r)rvr8�__metadata__r�r�rH)rFr"�metadatar�s&&&�rzrH�_AnnotatedAlias.__init__�sC����f�o�.�.��*�*�X�5�H��&�&�F�
����k��:�$�r|c�d�[U2]6XfPgU]*o[V O2!rr)r�r8r;)rFr��new_types&& rzr'�_AnnotatedAlias.copy_with�s.���6�{�a�����!�9���x�):�):�;�;r|c��QO[UO2QOQUO222!)ztyping.Annotated[{}, {}]r�c3�D�SF �Do[U2w�	J	P!3hr�)�reprr�s& rzr��+_AnnotatedAlias.__repr__.<locals>.<genexpr>�s��'8���'8�!�d�1�g�g�'8�r�)r�r�r�r�r;rYs&rzrZ�_AnnotatedAlias.__repr__�s9��)�0�0��t���'��I�I�9�t�'8�'8�9�9�
�	
r|c�l�[O[UO1UO*11!r�)r%rGrr�r;rYs&rzr^�_AnnotatedAlias.__reduce__�s1���������)�D�,=�,=�=�"
�
�	
r|c��[U[2%f[!UOUO6H9%cUOUO6H!r�)rvr8rNr�r;rfs&&rzrO�_AnnotatedAlias.__eq__�sJ���%��1�1�!�!����5�#3�#3�3�<�<��%�%��);�);�;�	=r|c�F�[UOUO12!r�)rRr�r;rYs&rzrS�_AnnotatedAlias.__hash__�s���T�_�_�d�&7�&7�8�9�9r|c�6:�UQ7cQ![RU_U2!)r#r>r#r5)r�rMrDs&&�rzrM�_AnnotatedAlias.__getattr__�s����/�/���w�"�4�(�(r|c��UO1!r�)r�rQs&&rzrS�_AnnotatedAlias.__mro_entries__�s�����!�!r|)r;)r#r4r5r6r7rHr'rZr^rOrSrMrSr9r:r�r�s@@rzr8r8�s7�����%�<�

�
�
=�:�)�
"�"r|r8c���[U2]6c[Q2g[U]*2%c[Q2gQo[U]*UP	Q5o[	UQ*2o[V42!)a�Add 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.

Details:

- It's an error to call `Annotated` with less than two arguments.
- Access the metadata via the ``__metadata__`` attribute::

    assert Annotated[int, '$'].__metadata__ == ('$',)

- Nested Annotated types are flattened::

    assert Annotated[Annotated[T, Ann1, Ann2], Ann3] == Annotated[T, Ann1, Ann2, Ann3]

- Instantiating an annotated type is equivalent to instantiating the
underlying type::

    assert Annotated[C, Ann1](5) == C(5)

- Annotated can be used as a generic type alias::

    type Optimized[T] = Annotated[T, runtime.Optimize()]
    # type checker will treat Optimized[int]
    # as equivalent to Annotated[int, runtime.Optimize()]

    type OptimizedList[T] = Annotated[list[T], runtime.Optimize()]
    # type checker will treat OptimizedList[int]
    # as equivalent to Annotated[list[int], runtime.Optimize()]

- Annotated cannot be used with an unpacked TypeVarTuple::

    type Variadic[*Ts] = Annotated[*Ts, Ann1]  # NOT valid

  This would be equivalent to::

    Annotated[T1, T2, T3, ..., Ann1]

  where T1, T2 etc. are TypeVars, which would be invalid, because
  only one type should be passed to Annotated.
zUAnnotated[...] should be used with at least two arguments (a type and an annotation).z?Annotated[...] should not be used with an unpacked TypeVarTuplez$Annotated[t, ...]: t must be a type.r�:r�NN)r�r�r�r�r�r8)rFr�r�r"r<s&*   rzrr�su��b�6�{�Q���'�(�	(�!����+�+��0�1�	1�
0�C�
����C�T�
B�F��V�B�Z� �H��6�,�,r|c	���[U[2%c[UQP
2%f[QU*2gP	Um[UQ2%cP
Um[2UmUOFD>o[[VP22oU%fUOOU2J>J@	U![co[QS8Q02SgPo=hh9h)a
Mark a protocol class as a runtime protocol.

Such protocol can be used with isinstance() and issubclass().
Raise TypeError if applied to a non-protocol class.
This allows a simple-minded structural check very similar to
one-trick ponies in collections.abc such as Iterable.

For example::

    @runtime_checkable
    class Closable(Protocol):
        def close(self): ...

    assert isinstance(open('/some/file'), Closable)

Warning: this will check only the presence of the required methods,
not their type signatures!
r�zB@runtime_checkable can be only applied to protocol classes, got %rr!z,Failed to determine whether protocol member z is a method member)
r+rr�r�rr�r!r�r$r�callabler�r&)r�r�is_callabler�s&   rzrgrg	s���&�c�7�#�#�7�3���+N�+N��"�$'�(�)�	)�#�C���s�I�J�J�BG��?�
*-��C�&��&�&��		=�"�7�3�d�#;�<�K���2�2�6�6�t�<��'��J���	��>�t�h�G%�%���
��	�s�=B=�=	C�C�C�Cc��U!)z�Cast a value to a type.

This returns the value unchanged.  To the type checker this
signals that the return value has the designated type, but at
runtime we intentionally don't check anything (we want this
to be as fast as possible).
r�)r�r;s&&rzrNrNA	s	���Jr|c��U!)a�Ask a static type checker to confirm that the value is of the given type.

At runtime this does nothing: it returns the first argument unchanged with no
checks or side effects, no matter the actual type of the argument.

When a static 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
r�)r;r�s""rzrLrLL	s	���Jr|c���[UQP2%c-![OoUe
UOo[	U[
2%Cc�-o[
UO2FCDo[OVtQ5oVEO6XcUOU2J>Ue7[[OOUOP2Q-2o	LSo	Ue[[!U22LSo
UeUeX�q�UO"o[%V�U
P	2vq�UO'2FDLvq�[	U
[(2%c[+U
P
P	Q5o
[-V�U
Q
V@P	Q5o
U
e[P2o
V�U$JN	CJ	U%fVEO6XcU!UO'2TTt-tFDvq�U[/U2aJ	too![OVQ5oU%fe[	U[0O22%fE[5U2%f4[7UQ2%f"[7UQ2%f[9U8Q02gVEO6XcU!Ue�[	U[0O22%cUO:oLtSo[=U2.o[7UQ	2%cHUO>o[=U2U7c[AQ
U802gUOC[=U22JY[UQ-2oUeSoLUeSo[UQQ
2o[%V�UP
2vqUO'2FDivq�[	U
[(2%c,[+U
[	U[0O22%(P
Q5o
[-V�UQ
V@P	Q5o
U
e[P2o
V�U$Jk	U%cU!UO'2TTt-tFDvq�U[/U2aJ	too!ttoohttooh)a�Return type hints for an object.

This is often the same as annotationlib.get_annotations(obj) or obj.__annotations__,
but it handles forward references encoded as string literals and recursively replaces all
'Annotated[T, ...]' with 'T' (unless 'include_extras=True').

The argument may be a module, class, method, or function. The annotations
are returned as a dictionary. For classes, annotations include also
inherited members.

TypeError is raised if the argument is not of a type that can contain
annotations, and an empty dictionary is returned if no annotations are
present.

BEWARE -- the behavior of globalns and localns is counterintuitive
(unless you are familiar with how eval() and exec() work).  The
search order is locals first, then globals.

- If no dict arguments are passed, an attempt is made to use the
  globals from obj (or the respective module's globals for classes),
  and these are also used as the locals.  If the object does not appear
  to have globals, an empty dictionary is used.  For classes, the search
  order is globals first then locals.

- If one dict argument is passed, it is used for both globals and
  locals.

- If two dict arguments are passed, they specify globals and
  locals, respectively.
�__no_type_check__r�r)r�rt)r�rqrr�r�z% is not a module, class, or callable.�__wrapped__zwrapper loop when unwrapping �__globals__rr�)"r�r�r�r�rvru�reversedr�r�r��updater r!r"r4r��varsr�_add_type_params_to_scope�itemsrwrxr�_strip_annotationsr��
ModuleTyperRr�r�r�idrXr�r�)r�rr�include_extrasr�r��hintsr�ann�base_globals�base_localsrrr�r�r��nsobj�seens&&&&$             rzrXrX\	s_��@�s�'��.�.��	�
�
!�
!�F�
�~������#�t������S�[�[�)�)�D��/�/��D�C����&����S�!����&�s�{�{���t����'M�z�[]�^��'��.5�o�$�t�D�z�*�7�K���8�#3�-8�k��.�.�K�(A��;��)>�%�L�"�y�y�{����e�S�)�)�-�e��QU�V�E�"�5��R�*0�t�U���=� ��J�E�#�d�� +�+*�:�V�}�}�4��L�9>����G����A�)�!�,�,��G�G��)�)�#�=�E���3�� 0� 0�1�1���
�
���.�/�/���^�,�,��3�'�!F�G�H�H�
���������c�5�+�+�,�,��|�|�H��E��u�I�;�D��%��/�/��)�)���e�9��$�$�'D�S�G�%L�M�M�����E��#��u�m�R�8�H��?��G��	�����#�0�"�5�K�1�+��RW�X��H��{�{�}����e�S�!�!�&�� *�3��0@�0@� A�A���E�
�5�G�R��ei�j���=���J�E��d��%�#�5�\�e�k�k�m�(\�m�d�a��,>�q�,A�)A�m�(\�\��]H��\)]s�1O(�O.c���U%fV1![U2o[U2oSFDHoU%cUOU7fJVAUO$UOUOP2JJ	V1!r�)r�r#�pop)rrrrtr�s&&&& rzr]r]�	sa���� � ��H�~�H��7�m�G����5�>�>��9�',�U�^�^�$��K�K�����-����r|c���[U[2%c[UO2![	UQ2%c=UO[
[[17c[UO]*2![U[2%cc[9PIc,QUO2DMJ	3LQUO22oVO6XcU!UOU2![U[2%c][9PIc,QUO2DMJ	3LQUO22oVO6XcU![V2![U[2%cw[9PIc,QUO2DMJ	3LQUO22oVO6XcU![O ["O$U2!U!)z(Strip the annotations from a given type.r�c3�D�SF �Do[U2w�	J	P!3hr��r_r�s& rzr��%_strip_annotations.<locals>.<genexpr>�	���Z���Z��0��3�3�Z�r�c3�D�SF �Do[U2w�	J	P!3hr�rmr�s& rzr�rn�	ror�c3�D�SF �Do[U2w�	J	P!3hr�rmr�s& rzr�rn�	ror�)rvr8r_r�r�rerardr�r�r�r'rr�r
r�r$r%r&)r��
stripped_argss& rzr_r_�	sL���!�_�%�%�!�!�,�,�/�/��q�,���A�L�L�X�{�H�4U�$U�!�!�*�*�Q�-�0�0��!�]�#�#���H�Q�Z�Z�H���H�Q�Z�Z�H�H�
��J�J�&��H��{�{�=�)�)��!�\�"�"���H�Q�Z�Z�H���H�Q�Z�Z�H�H�
��J�J�&��H�%�a�7�7��!�U�����H�Q�Z�Z�H���H�Q�Z�Z�H�H�
��J�J�&��H�������m�<�<��Hr|c��[U[2%c[![U[[[
[12%c
UO!U[Ic[![U[2%c[!P!)a[Get the unsubscripted version of a type.

This supports generic types, Callable, Tuple, Union, Literal, Final, ClassVar,
Annotated, and others. Return None for unsupported types.

Examples::

    >>> P = ParamSpec('P')
    >>> assert get_origin(Literal[42]) is Literal
    >>> assert get_origin(int) is None
    >>> assert get_origin(ClassVar[int]) is ClassVar
    >>> assert get_origin(Generic) is Generic
    >>> assert get_origin(Generic[T]) is Generic
    >>> assert get_origin(Union[T, int]) is Union
    >>> assert get_origin(List[Tuple[T, T]][int]) is list
    >>> assert get_origin(P.args) is P
)
rvr8rrrr	r
r�rr
��tps&rzrUrU�	s`��$�"�o�&�&����"�(�,�$�o�7�8�8��}�}��	�W�}����"�e�����r|c�X�[U[2%cUO1UO*![U[[
12%c7UOo[V2%c[UPP2UP*1oU![U[2%c
UO!Q!)a�Get type arguments with all substitutions performed.

For unions, basic simplifications used by Union constructor are performed.

Examples::

    >>> T = TypeVar('T')
    >>> assert get_args(Dict[str, int]) == (str, int)
    >>> assert get_args(int) == ()
    >>> assert get_args(Union[int, Union[T, int], str][int]) == (int, str)
    >>> assert get_args(Union[int, Tuple[T, int]][str]) == (int, Tuple[str, int])
    >>> assert get_args(Callable[[], T][int]) == ([], int)
r�)
rvr8r�r;r�rr�r�r�r
)rur/s& rzrTrT
s����"�o�&�&��
�
��"�/�/�1�1��"�}�l�3�4�4��k�k��*�2�3�3���C�R��>�3�r�7�+�C��
��"�e����{�{��
�Ir|c�$�[U[2!)z�Check if an object is a TypedDict class.

For example::

    >>> from typing import TypedDict
    >>> class Film(TypedDict):
    ...     title: str
    ...     year: int
    ...
    >>> is_typeddict(Film)
    True
    >>> is_typeddict(dict)
    False
)rvrrts&rzrZrZ4
s���b�.�)�)r|c�2�U]6�cPgQ[Q[-!�r�ryr�)r\)r�s"rzr��assert_never.__annotate__I
s��O�O�e�O�5�Or|c�~�[U2o[U2[6�cUP[Q*o[QU02g)a�Statically assert 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.
z...z*Expected code to be unreachable, but got: )rCr��_ASSERT_NEVER_REPR_MAX_LENGTH�AssertionError)ryr�s" rzrMrMI
s@��&
��I�E�
�5�z�1�1��4�4�5��=��
�E�e�W�M�
N�Nr|c�N�[U[2%c�[U2FD�o[V2o[	UQ2%cGUO
UO
QUO06wf[UQP2UO6wcJh[U[O2%cP	Um
[U[O2%cP	UOm
[U[2%fJ�[U2J�	P	Um
U![cS!h9h)a5Decorator to indicate that annotations are not type hints.

The argument must be a class or function; if it is a class, it
applies recursively to all methods and classes defined in that class
(but not to methods defined in its superclasses or subclasses).

This mutates the function(s) or class(es) in place.
r5rr4)rvrurCr�r�r5r#r4r��FunctionTyperW�
MethodType�__func__r^r�)ry�keyr�s&  rzr^r^b
s����#�t����s�8�C��#�#�C��C��0�0��#�#�#�*:�*:�);�1�S�\�\�N�'K�K��3��d�3�s�~�~�E�
��#�u�1�1�2�2�(,��%��#�u�/�/�0�0�15����.��#�t�$�$��c�"�%�&
� $����J���
���J�
�s�D�	D$�D$�#D$c��[Q2g)z*Helper for @overload to raise when called.z�You should not call an overloaded function. A series of @overload-decorated functions outside a stub module should always be followed by an implementation that is not @overload-ed.)�NotImplementedError)r�r�s*,rz�_overload_dummyr��
s��
�	9�:�:r|c���[UQU2oU[UO*UO*UOO
$[![c	[!h9h)aVDecorator for overloaded functions/methods.

In a non-stub file, place two or more stub definitions for the same
function in a row, each decorated with @overload, followed
by an implementation.  The implementation should *not*
be decorated with @overload::

    @overload
    def utf8(value: None) -> None: ...
    @overload
    def utf8(value: bytes) -> bytes: ...
    @overload
    def utf8(value: str) -> bytes: ...
    def utf8(value):
        ...  # implementation goes here

In a stub file or in an abstract method (for example, in a Protocol definition),
the implementation may be omitted::

    @overload
    def utf8(value: None) -> None: ...
    @overload
    def utf8(value: bytes) -> bytes: ...
    @overload
    def utf8(value: str) -> bytes: ...

The overloads for a function can be retrieved at runtime using the
get_overloads() function.
r�)r��_overload_registryr4r5�__code__�co_firstlinenorKr�)r��fs& rzrbrb�
s`��>	��j�$�'�A�
�VZ��1�<�<�(����8����9R�9R�S�����
����
�s�?A�	A(�A(�'A(c���[UQU2oUO[7c,![UO*oUOU7c,![	V!O*O22!)z6Return all defined overloads for *func* as a sequence.r�)r�r4r�r5r��values)r�r��mod_dicts&  rzrVrV�
s^��	��j�$�'�A��|�|�-�-��	�!�!�,�,�/�H��~�~�X�%��	�����(�/�/�1�2�2r|c�0�[O2P!)z$Clear all overloads in the registry.)r��clearr�r|rzrOrO�
s�����r|c�H�P	UmU![[1cS!h9h)a�Decorator to indicate final methods and final classes.

Use this decorator to indicate to type checkers that the decorated
method cannot be overridden, and the 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
attempts to set the ``__final__`` attribute to ``True`` on the decorated
object to allow runtime introspection.
)�	__final__rKr�)r�s&rzrSrS�
s5��4
����
�H��
�I�&�
�	
��H�
����!�!�!c��P	UmU!)a�This decorator marks a class as a disjoint base.

Child classes of a disjoint base cannot inherit from other disjoint bases that are
not parent or child classes of the disjoint base.

For example:

    @disjoint_base
    class Disjoint1: pass

    @disjoint_base
    class Disjoint2: pass

    class Disjoint3(Disjoint1, Disjoint2): pass  # Type checker error

Type checkers can use knowledge of disjoint bases to detect unreachable code
and determine when two types can overlap.
)�__disjoint_base__)r�s&rzrQrQ�
s��&!�C���Jr|�T�KT�VT�T_co)�	covariant�V_co�VT_co�T_contra)�
contravariant�CT_co)r��boundaDeprecated alias to collections.abc.Callable.

    Callable[[int], str] signifies a function that takes a single
    parameter of type int and returns a str.

    The subscription syntax must always be used with exactly two
    values: the argument list and the return type.
    The argument list must be a list of types, a ParamSpec,
    Concatenate or ellipsis. The return type must be a single type.

    There is no syntax to indicate optional or keyword arguments;
    such function types are rarely used as callback types.
    r:rHa]Deprecated alias to builtins.tuple.

    Tuple[X, Y] is the cross-product type of X and Y.

    Example: Tuple[T1, T2] is a tuple of two elements corresponding
    to type variables T1 and T2.  Tuple[int, float, str] is a tuple
    of an int, a float and a string.

    To specify a variable-length tuple of homogeneous type, use Tuple[T, ...].
    )rza�Deprecated alias to builtins.type.

    builtins.type or typing.Type can be used to annotate class objects.
    For example, suppose we have the following classes::

        class User: ...  # Abstract base for User classes
        class BasicUser(User): ...
        class ProUser(User): ...
        class TeamUser(User): ...

    And a function that takes a class argument that's a subclass of
    User and returns an instance of the corresponding class::

        def new_user[U](user_class: type[U]) -> U:
            user = user_class()
            # (Here we could write the user object to a database)
            return user

        joe = new_user(BasicUser)

    At this point the type checker knows that joe has type BasicUser.
    c�F`�\sQsQsnQsQs\U1QkQk2sQsUs	P!)r8itz,A protocol with one abstract method __int__.c�":�U]6�cPgQRZ-!�r�r���int)r�r<s"�rzr�� SupportsInt.__int__.__annotate__{s���
�
��
r|c��P!r�r�rYs&rz�__int__�SupportsInt.__int__z���r|r�)
r#r4r5r6r7r8rr�r9r:r;s@rzr8r8ts����6��I��
��
r|c�F`�\sQsQsnQsQs\U1QkQk2sQsUs	P!)r6iz.A protocol with one abstract method __float__.c�":�U]6�cPgQRZ-!r�)�float)r�r<s"�rzr��$SupportsFloat.__float__.__annotate__�����
�
�5�
r|c��P!r�r�rYs&rz�	__float__�SupportsFloat.__float__�r�r|r�)
r#r4r5r6r7r8rr�r9r:r;s@rzr6r6�����8��I��
��
r|c�F`�\sQsQsnQsQs\U1QkQk2sQsUs	P!)r5i�z0A protocol with one abstract method __complex__.c�":�U]6�cPgQRZ-!r�)�complex)r�r<s"�rzr��(SupportsComplex.__complex__.__annotate__�s���
�
�W�
r|c��P!r�r�rYs&rz�__complex__�SupportsComplex.__complex__�r�r|r�)
r#r4r5r6r7r8rr�r9r:r;s@rzr5r5�s����:��I��
��
r|c�F`�\sQsQsnQsQs\U1QkQk2sQsUs	P!)r4i�z.A protocol with one abstract method __bytes__.c�":�U]6�cPgQRZ-!r�)�bytes)r�r<s"�rzr��$SupportsBytes.__bytes__.__annotate__�r�r|c��P!r�r�rYs&rz�	__bytes__�SupportsBytes.__bytes__�r�r|r�)
r#r4r5r6r7r8rr�r9r:r;s@rzr4r4�r�r|c�F`�\sQsQsnQsQs\U1QkQk2sQsUs	P!)r7i�z.A protocol with one abstract method __index__.c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��$SupportsIndex.__index__.__annotate__�s���
�
�3�
r|c��P!r�r�rYs&rz�	__index__�SupportsIndex.__index__�r�r|r�)
r#r4r5r6r7r8rr�r9r:r;s@rzr7r7�r�r|c�B``�Q39n1nUU1QkQR3
o[U2!)r�c�P:`�\sQsQsYsnQsQs\UU1QkQk2sQs	Us
P!)r3i�zQA protocol with one abstract method __abs__ that is covariant in its return type.c�":�U]6�cPgQRY-!r�r�)r�r�r<s"��rzr�� SupportsAbs.__abs__.__annotate__�s���
�
��
r|c��P!r�r�rYs&rz�__abs__�SupportsAbs.__abs__�r�r|r�)r#r4r5r6rr7r8rr�r9r:�r<�.type_paramsr�s@��rzr3r3�s$����[��I��
�
��
r|r3r3��
.generic_baser�r�s @@rz�#<generic parameters of SupportsAbs>r��s����
�
�X�
r|c�B``�Q39n1nUU1QkQR3
o[U2!)r�c�T:`�\sQsQsYsnQsQs\QUU1QkQkk2sQs	Us
P!)r9i�zSA protocol with one abstract method __round__ that is covariant in its return type.c�(:�U]6�cPgQRZQRY-!)r��ndigitsr�r�)r�r�r<s"��rzr��$SupportsRound.__round__.__annotate__�s���
�
��
�Q�
r|c��P!r�r�)rFr�s&&rz�	__round__�SupportsRound.__round__�r�r|r��r)r#r4r5r6rr7r8rr�r9r:r�s@��rzr9r9�s$����]��I��
�
��
r|r9r3r�s @@rz�%<generic parameters of SupportsRound>r��s����
�
�x�
r|c�h�[OVVCQ5oU9UmUOmU!)�rzrs)r��
namedtupler�r�)r�fields�
annotate_funcrsrz�nm_tpls&&&&& rz�
_make_nmtupler��s1��
�
#�
#�D�-5�F�F�8E�E�F��&�.�.�5��Mr|c�``�RO2TTt-tFDvqU[UQUQ02aJ	toonUU1QkoU!ttooh)�field � annotation must be a typec�:�S99[OO6XcR!9[OO6XcR![OO6Xc[O
R2![
U2gr�)r�r�r�r�r��annotations_to_stringr�)r��
checked_typesr�s&��rz�annotate�&_make_eager_annotate.<locals>.annotate�st����M�+��%�%�+�+�M�$�$�/N�m�.B�.B�.M�.M�M�$�$�N��%�%�,�,�$�:�:�5�A�A��)�&�1�1r|)r^r�)r�r�r;r�r�sf   @rz�_make_eager_annotater��sO���%*�[�[�]�4�%2����+�c�V�C�5�8R�+S�T�T�%2�4�M�2��O��4s�Ac�(`�\sQsQsnQsQsUsP!)�NamedTupleMetai�c�`�[U7fPgQU7c[Q2gSFD$oU[IfJU[IfJ[Q2g	[9PIc,QU2DMJ	3LQU22oQU7c!UQ*o[	U2o[U2oL�[OU29ndg[OR[OO2o[	U2oUO2FDo[UQ2J	U1QkoL,oQo,o	SFDYo
V�7cU	OU
2JU	%fJ&[QS
Q	[U	2]6�cQ
LPQQOU	202g	[!XSS	Tt,tFDp�U*MJ
	toUQ
*Q5oV,m[U7c[$o
['U
2UmUO+2FDkvq�U[,7c[/QU*2gU[07fJ/V�O27c
[5V�U2[7U2O8oUV�U2Jm	[U7cUOA2U!ttoh[:c7oSO=Q[7S2O>8QS8QS802gPo=hh9h[.cJ�h9h)r�zQuses of super() and __class__ are unsupported in methods of NamedTuple subclassesz3can only inherit from a NamedTuple type and Genericc3�P�SF �Dp[Ic[LSw�	J	P!3hr�)�_NamedTupler�)r�rs& rzr��)NamedTupleMeta.__new__.<locals>.<genexpr>�s�������{�2�e��<��s�
&�&r�zfield annotation must be a typec��:�[ORU2oU[OO6wc5UO	2TTt-tFDvq#U[UQUQ02aJ	too!U!ttooh)r�r�)r��call_annotate_functionr�r�r^r�)r�r/r�r;�original_annotates&   �rzr��(NamedTupleMeta.__new__.<locals>.annotate�st���%�<�<�%�v�/���]�1�1�8�8�8�,1�K�K�M�;�,9��� ��S�F�3�%�?Y�2Z�![�[�,9�;�;����;s�A/c��-!r�r�r�s&rz�<lambda>�(NamedTupleMeta.__new__.<locals>.<lambda>s��br|zNon-default namedtuple field z cannot follow default field�s� r�r4r�z&Cannot overwrite NamedTuple attribute zError calling __set_name__ on z
 instance z in )!r�r�rr�r�r�r��!get_annotate_from_class_namespacer�r�r�r�r�r�r�r�r�rr�classmethod�__class_getitem__r^�_prohibitedrK�_special�_fieldsr:ru�__set_name__�
BaseExceptionr�r#r1)r��typenamerR�nsrr��field_namesr�r��
default_names�
field_name�nr��
class_getitemr�r;�set_namer�r�s&&&&              @rzr��NamedTupleMeta.__new__�s�����e�#�#�#��b� ��c�e�
e��D��;�&�4�w�+>��I�K�K����O��O���O��O�O����"��(�)�E��u�+�K�+�E�2�H�#0�#R�#R�SU�#V�V��
c�!�8�8�!�=�#7�#7�#B�#B�D�E��u�+�K��|�|�~���C�!B�C�&�
��K�(�H��
�%�J����$�$�Z�0����"?�
�|�L>�*-�m�*<�q�*@�3�b�"I��#'�9�9�]�#;�"<�!>�?�?�	&��x�h�8E�(F�
�1�A���
�(F�&(��&6�8��!���e��2�M�'2�=�'A�F�$����
�H�C��k�!�$�%M�PS�%S�T�T��H�$��n�n�,��F��-��#�C�y�5�5�H�� ��c�2�#�(�e���$�$�&��
��;)G��()���
�
�<�T�#�Y�=O�=O�<R�S(�(+�w�d�8�,�@������&����s<�I7�7K�
	I<�<	J=�J=�1J8�8J=�	K�
K�Kr�)r#r4r5r6r�r9r:r;s@rzr�r��s����I�Ir|r�c��STTt-tFDvq#U[UQUQ02aJ	ooo[V[U2[2Q5o[1UmU!ttooh)aTyped version of collections.namedtuple.

Usage::

    class Employee(NamedTuple):
        name: str
        id: int

This is equivalent to::

    Employee = collections.namedtuple('Employee', ['name', 'id'])

The types for each field name can be retrieved by calling
annotationlib.get_annotations(Employee).  (The field names are also in
the _fields attribute, which is part of the namedtuple API.)
An alternative equivalent functional syntax is also accepted::

    Employee = NamedTuple('Employee', [('name', str), ('id', int)])
r�r��rs)r�r�r�r�rCr)rr�r	r�r��nts""    rzrCrC,sf��* �
!������A���s�*D�E�F�
F��
�
!�	�x�(<�U�(C�G�I�	V�B�#�
�B��
�I��	
!s�Ac�,�[U7fPg[1!r�)rCr��rRs&rz�_namedtuple_mro_entriesrHs��������>�r|c#�H �[U2oU[Ic![U2oU%cU]*oJ4P!U[Ic[w�	[U2voJXU[Ic[w�	[U2voJzU[
Ic[
w�	[U2voJ�P!3h)T)rUrrTrerard)�annotation_type�annotation_origin�annotation_argss&  rz�_get_typeddict_qualifiersrRs����
�&��7���	�)�&��7�O��"1�!�"4���
�(�
*��N�!)�/�!:��_�
�+�
-���!)�/�!:��_�
�(�
*��N�!)�/�!:��_��s!�B"�B"�B"�!B"�&!B"�B"c�@`�\sQsQsnP	P\1Qks\sQs\s	Qs
UsP!)rihc
�``````�RFD-o[U2[IfJU[IfJ$[Q2g	UdU[Ic[QU8Q02g[
9PIcQR2D%fJP	L	P
LQR22%c	[1oLQoUO
QP2o	[O[U,UN[M3U2n[RQ2%fRRm
U	dPnU	nLP[OU29nd3[OR[OORQ5nLPn-nQnRO!2T
Tt-tFDvq�U
[#URRRO$Q	5aJ!	too
n['2o['2o
['2o['2oRFD�oUO(O+Q
['22oUU*oU
U*o
UO(O+Q['22oUU*oU
U*o
UO-UO(O+QQ22UO-UO(O+Q
Q22J�	RO!2FD�voo['[/U22o[0U7cP	oL[2U7cP
oLSoU%c$UO5U2U
O7U2L"U
O5U2UO7U2[8U7c+UU7c[QU8Q02gUO5U2J�UO5U2UO7U2J�	UO;U
2%fPQUQU8QU
802gUUUUUU1QkoURm[?U2Rm [?U
2Rm![?U2Rm"[?U2Rm#URm$URm%URm&R!ttoo
h)aCreate a new typed dict class object.

This method is called when TypedDict is subclassed,
or when TypedDict is instantiated. This way
TypedDict classes can be created through both class-based and functional syntax.
Subclasses and instances of TypedDict return actual dictionaries.
zHcannot inherit from both a TypedDict type and a non-TypedDict base classzCannot combine closed=z and extra_itemsc3�N�SF �Do[U[2w�	J	P!3hr�)r+rr4s& rzr��)_TypedDictMeta.__new__.<locals>.<genexpr>ys��u���u�!�z�!�W�%�%�u�s�%r�r�rqz?TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type)rqrs�__required_keys__�__optional_keys__�__readonly_keys__�__mutable_keys__zCannot override mutable key z with read-only keyz,Required keys overlap with optional keys in z: required_keys=z, optional_keys=c��:�-oRFDJoU[IcJUOoUeJ![OV0UQ5oUO	U2JL	R
du[OR
UR
Q5oU[O
O6wc<UO2TTt-tFDvqgU[UR	R
OQ5aJ 	oooL}U[O
O6Xc[OR2oLGU[O
O[O
O17cRoL[U2gUO	U2U!ttooh)Nrr)rr�r�r�r[r�r�r^r�r4r�r�r�r�)r�r/r�
base_annotate�
base_annos�ownr	rurRr��own_annotate�own_annotations�own_checked_annotations�tp_dicts&       ������rzr��,_TypedDictMeta.__new__.<locals>.__annotate__�s4����E����7�?�� $� 1� 1�
� �(��*�A�A�!��7�
����Z�(���'�#�:�:� �&��9���]�1�1�8�8�8�&)�Y�Y�[��%0�E�A��;�r�3�w�7I�7I�J�J�%0�����=�/�/�6�6�6�#�9�9�/�J���M�0�0�;�;�]�=Q�=Q�=W�=W�X�X�-��)�&�1�1��L�L����L��s�$&Er�)'rurrr�r_r.rjr�r�r�rr�r�r�r�r�r^r�r4r�rr"r[rrerar��discardrd�
isdisjointr�r�rrrr �	__total__�
__closed__�__extra_items__)r�rrRr�total�closed�extra_itemsr�generic_base�ns_annotationsr	ru�
required_keys�
optional_keys�
readonly_keys�mutable_keys�
base_required�
base_optional�annotation_keyr�
qualifiers�is_requiredr�r�r%r&r'r(s&&f&&&&                @@@@@rzr��_TypedDictMeta.__new__is�����D��D�z��/�D��4G��!A�B�B����+�\�"A��4�V�J�>N�O�P�P��3�5�u�5�3�3�3�5�u�5�5�5�#�:�L��L���� 1�4�8���,�,�~�t�5J�|�5J�T�5J�B�O���w� 0�1�1�%*�G�"��%��L�,�O�+�M�M�b�Q�Q�l�
^�+�B�B��m�2�2�=�=�W��O� �L� �O�O��)�.�.�0�#
�0���
�{�2�s�'�'�:L�:L�M�M�0�#
����
���
���
��u���D� �M�M�-�-�.A�3�5�I�M��]�*�M��]�*�M� �M�M�-�-�.A�3�5�I�M��]�*�M��]�*�M�� � ����!2�!2�3F��!K�L�����
�
� 1� 1�2D�b� I�J��0G�/L�/L�/N�+�N�O��6��G�H�J��:�%�"���
�*�#��#����!�!�.�1��%�%�n�5��!�!�.�1��%�%�n�5��:�%�!�\�1�#�6�~�6H�-�.����!�!�.�1�� � ��0��%�%�n�5�30O�6�'�'�
�6�6�	
�:�4�&�A���0�-�!1�
3�	
�6�
	�	�8 ,���$-�m�$<��!�$-�m�$<��!�$-�m�$<��!�#,�\�#:�� �!���#���"-������s#
s�'O<c��[Q2g)z4TypedDict does not support instance and class checksr0)r�rgs&&rzrv� _TypedDictMeta.__subclasscheck__�s���N�O�Or|r�)r#r4r5r6r_r�r�rbrvrqr9r:r;s@rzrrhs)����,0��(�@�D�H�P�*�r|rr/r0r1c	�~�Q[U2-o[2oUdVeQ$[UQVRUUQ5o[1UmU!)a�A simple typed namespace. At runtime it is equivalent to a plain dict.

TypedDict creates a dictionary type such that a type checker will expect all
instances to have a certain set of keys, where each key is
associated with a value of a consistent type. This expectation
is not checked at runtime.

Usage::

    >>> class Point2D(TypedDict):
    ...     x: int
    ...     y: int
    ...     label: str
    ...
    >>> a: Point2D = {'x': 1, 'y': 2, 'label': 'good'}  # OK
    >>> b: Point2D = {'z': 3, 'label': 'bad'}           # Fails type check
    >>> Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first')
    True

The type info can be accessed by calling annotationlib.get_annotations(Point2D), and
via the Point2D.__required_keys__ and Point2D.__optional_keys__ frozensets.
TypedDict supports an additional equivalent form::

    Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})

By default, all keys must be present in a TypedDict. It is possible
to override this by using the NotRequired and Required special forms::

    class Point2D(TypedDict):
        x: int               # the "x" key must always be present (Required is the default)
        y: NotRequired[int]  # the "y" key can be omitted

This means that a Point2D TypedDict can have the "y" key omitted, but the "x" key must be present.
Items are required by default, so the Required special form is not necessary in this example.
In addition, the total argument to the TypedDict function can be used to make all items not required::

    class Point2D(TypedDict, total=False):
        x: int
        y: int

This means that a Point2D TypedDict can have any of the keys omitted. A type
checker is only expected to support a literal False or True as the value of
the total argument. True is the default, and makes all items defined in the
class body be required. The Required special form can be used to mark individual
keys as required in a total=False TypedDict.

The ReadOnly special form can be used
to mark individual keys as immutable for type checkers::

    class DatabaseUser(TypedDict):
        id: ReadOnly[int]  # the "id" key must not be modified
        username: str      # the "username" key can be changed

The closed argument controls whether the TypedDict allows additional
non-required items during inheritance and assignability checks.
If closed=True, the TypedDict does not allow additional items::

    Point2D = TypedDict('Point2D', {'x': int, 'y': int}, closed=True)
    class Point3D(Point2D):
        z: int  # Type checker error

Passing closed=False explicitly requests TypedDict's default open behavior.
If closed is not provided, the behavior is inherited from the superclass.
A type checker is only expected to support a literal False or True as the
value of the closed argument.

The extra_items argument can instead be used to specify the assignable type
of unknown non-required keys::

    Point2D = TypedDict('Point2D', {'x': int, 'y': int}, extra_items=int)
    class Point3D(Point2D):
        z: int      # OK
        label: str  # Type checker error

The extra_items argument is also inherited through subclassing. It is unset
by default, and it may not be used with the closed argument at the same
time.

See PEPs 589, 655, 705, and 728 for more information.
r�r4)r/r0r1r�)r�r�rrDr)rr�r/r0r1rrs�tds""$$$   rzrDrD�sL��d�T�&�\�	*�B�
�Y�F�
��!�<��	��"�b�f�$/�
1�B�"��B��
�Ir|c��[1!r�)�
_TypedDictrs&rzr�r�R
s��:�-r|c�L�[VOQ02o[V12!)a�Special typing construct to mark a TypedDict key as required.

This is mainly useful for total=False TypedDicts.

For example::

    class Movie(TypedDict, total=False):
        title: Required[str]
        year: int

    m = Movie(
        title='The Matrix',  # type checker error if key is omitted
        year=1999,
    )

There is no runtime checking that a required key is actually provided
when instantiating a related TypedDict.
� accepts only a single type.�r�rEr�r�s&& rzrereU
s'��(�z�j�j�\�1M�#N�O�D���w�'�'r|c�L�[VOQ02o[V12!)aSpecial typing construct to mark a TypedDict key as potentially missing.

For example::

    class Movie(TypedDict):
        title: str
        year: NotRequired[int]

    m = Movie(
        title='The Matrix',  # type checker error if key is omitted
        year=1999,
    )
rErFr�s&& rzraram
s'���z�j�j�\�1M�#N�O�D���w�'�'r|c�L�[VOQ02o[V12!)aYA special typing construct to mark an item of a TypedDict as read-only.

For example::

    class Movie(TypedDict):
        title: ReadOnly[str]
        year: int

    def mutate_movie(m: Movie) -> None:
        m["year"] = 1992  # allowed
        m["title"] = "The Matrix"  # type checker error

There is no runtime checking for this property.
rErFr�s&& rzrdrd�
s'�� �z�j�j�\�1M�#N�O�D���w�'�'r|c�N`�\sQsQsnQs\sQsQsQs	Qs
QsQsQ	s
UsP!)
r]i�
a�NewType creates simple unique types with almost zero runtime overhead.

NewType(name, tp) is considered a subtype of tp
by static type checkers. At runtime, NewType(name, tp) returns
a dummy callable that simply returns its argument.

Usage::

    UserId = NewType('UserId', int)

    def name_by_id(user_id: UserId) -> str:
        ...

    UserId('user')          # Fails type check

    name_by_id(42)          # Fails type check
    name_by_id(UserId(42))  # OK

    num = UserId(5) + 1     # type: int
c��VmQU7cUOQ2P*oVmV m[	2oUQ6wc	V0mP!P!)r�typing)r5�
rpartitionr#�
__supertype__r�r4)rFrru�def_mods&&& rzrH�NewType.__init__�
sF�� ���$�;��?�?�3�'��+�D��
����)���h��%�O�r|c�>`�UOnU1QkQ2oU1!)c�0:`�\sQsQsnU1QksQsUsP!)�&NewType.__mro_entries__.<locals>.Dummyi�
c	�J:�UOo[QUQU8QRQ02g)zGCannot subclass an instance of NewType. Perhaps you were looking for: `z = NewType(r�z)`)r#r�)r��
subclass_name�superclass_names& �rzr1�8NewType.__mro_entries__.<locals>.Dummy.__init_subclass__�
s:��� #���
���%��k�-�1B�"�_�DU�UW�Y��r|r�)r#r4r5r6r1r9r:)r<rUs@�rz�DummyrR�
s����
�
r|rW)r#)rFrRrWrUs&& @rzrS�NewType.__mro_entries__�
s!����-�-��	�	��x�r|c�:�UOQUO0!)r)r4r5rYs&rzrZ�NewType.__repr__�
s���/�/�"�!�D�$5�$5�#6�7�7r|c��UO!r�)r5rYs&rzr^�NewType.__reduce__�
s��� � � r|c� �[V1*!r�rerfs&&rzrh�NewType.__or__�
rjr|c� �[V1*!r�rerfs&&rzrl�NewType.__ror__�
rnr|)r4r#r5rM)r#r4r5r6r7rrbrHrSrZr^rhrlr9r:r;s@rzr]r]�
s4�����*�H�&�
�8�!�"�"�"r|c�`�\sQsQsnQsQ+s\\U1QkQk22s\\U1QkQk22s	\U1QkQk2s
\\U1Q	kQ
k22s\U1QkQk2s\U1Q
kQk2s
\U1QkQk2s\Q,U1QkQkk2s\U1QkQk2s\Q,U1QkQkk2s\Q,U1QkQkk2s\Q-U1QkQkk2s\U1QkQk2s\U1QkQk2s\Q.U1QkQ kk2s\U1Q!kQ"k2s\U1Q#kQ$k2s\U1Q%kQ&k2s\U1Q'kQ(k2s\U1Q)kQ*k2sQ+sUsP!)/rGi�
a�Generic base class for TextIO and BinaryIO.

This is an abstract, generic version of the return of open().

NOTE: This does not distinguish between the different possible
classes (text vs. binary, read vs. write vs. read/write,
append-only, unbuffered).  The TextIO and BinaryIO subclasses
below capture the distinctions between text vs. binary, which is
pervasive in the interface. For more precise types, define a custom
Protocol.
c�":�U]6�cPgQRZ-!r�r)r�r<s"�rzr��IO.mode.__annotate__�
����
�
�c�
r|c��P!r�r�rYs&rz�mode�IO.mode�
���	
r|c�":�U]6�cPgQRZ-!r�r)r�r<s"�rzr��IO.name.__annotate__�
rdr|c��P!r�r�rYs&rzr�IO.name�
rhr|c� :�U]6�cPgQP-!r�r�)r�r<s"�rzr��IO.close.__annotate__�
����
�
�t�
r|c��P!r�r�rYs&rz�close�IO.close�
r�r|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.closed.__annotate__�
����
�
��
r|c��P!r�r�rYs&rzr0�	IO.closed�
rhr|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.fileno.__annotate__�
s���
�
��
r|c��P!r�r�rYs&rz�fileno�	IO.fileno�
r�r|c� :�U]6�cPgQP-!r�r�)r�r<s"�rzr��IO.flush.__annotate__ror|c��P!r�r�rYs&rz�flush�IO.flushr�r|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.isatty.__annotate__rur|c��P!r�r�rYs&rz�isatty�	IO.isattyr�r|c�(:�U]6�cPgQRZQRZ-!)r�r	r��r�rK)r�r<s"�rzr��IO.read.__annotate__	s���
�
�c�
�f�
r|c��P!r�r�)rFr	s""rz�read�IO.readr�r|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.readable.__annotate__
����
�
�$�
r|c��P!r�r�rYs&rz�readable�IO.readabler�r|c�(:�U]6�cPgQRZQRZ-!)r��limitr�r�)r�r<s"�rzr��IO.readline.__annotate__s���
�
�c�
�f�
r|c��P!r�r�)rFr�s""rz�readline�IO.readliner�r|c�8:�U]6�cPgQRZQRZRZ*-!)r��hintr�)r�r�rK)r�r<s"�rzr��IO.readlines.__annotate__s���
�
�c�
�d�6�l�
r|c��P!r�r�)rFr�s""rz�	readlines�IO.readlinesr�r|c�.:�U]6�cPgQRZQRZQRZ-!)r��offset�whencer�r�)r�r<s"�rzr��IO.seek.__annotate__s"���
�
�3�
��
�s�
r|c��P!r�r�)rFr�r�s"""rz�seek�IO.seekr�r|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.seekable.__annotate__r�r|c��P!r�r�rYs&rz�seekable�IO.seekabler�r|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.tell.__annotate__!rdr|c��P!r�r�rYs&rz�tell�IO.tell r�r|c�6:�U]6�cPgQRZP*QRZ-!)r��sizer�r�)r�r<s"�rzr��IO.truncate.__annotate__%s���
�
�S�4�Z�
�c�
r|c��P!r�r�)rFr�s""rz�truncate�IO.truncate$r�r|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��IO.writable.__annotate__)r�r|c��P!r�r�rYs&rz�writable�IO.writable(r�r|c�(:�U]6�cPgQRZQRZ-!�r�r�r�)rKr�)r�r<s"�rzr��IO.write.__annotate__-s���
�
�v�
�S�
r|c��P!r�r��rFr�s""rz�write�IO.write,r�r|c�6:�U]6�cPgQRZRZ*QP-!)r��linesr�)r�rK)r�r<s"�rzr��IO.writelines.__annotate__1s���
�
��V��
�D�
r|c��P!r�r�)rFr�s""rz�
writelines�
IO.writelines0r�r|c�2:�U]6�cPgQRZRZ*-!r�)rGrK)r�r<s"�rzr��IO.__enter__.__annotate__5s���
�
�2�f�:�
r|c��P!r�r�rYs&rz�	__enter__�IO.__enter__4r�r|c� :�U]6�cPgQP-!r�r�)r�r<s"�rzr��IO.__exit__.__annotate__9s���
�
�T�
r|c��P!r�r�)rFrur��	tracebacks""""rz�__exit__�IO.__exit__8r�r|r�)���r�r�)r#r4r5r6r7r8r�rrfrrqr0r{r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r9r:r;s@rzrGrG�
s�����
��I�
��
���
���
���
��
��
���
���
��
��
��
��
��
��
��
�
��
��
��
��
�
��
��
�
��
��
�
��
��
��
��
��
��
�
��
��
��
��
��
��
��
��
��
��
��
r|c�b`�\sQsQsnQsQs\U1QkQk2s\U1QkQk2sQs	Us
P!)rFi=z;Typed approximation of the return of open() in binary mode.c�8:�U]6�cPgQRZRZ*QRZ-!r�)r��	bytearrayr�)r�r<s"�rzr��BinaryIO.write.__annotate__Cs ���
�
�u�y�(�
��
r|c��P!r�r�r�s""rzr��BinaryIO.writeBr�r|c�":�U]6�cPgQRZ-!r��rF)r�r<s"�rzr��BinaryIO.__enter__.__annotate__Gs���
�
�8�
r|c��P!r�r�rYs&rzr��BinaryIO.__enter__Fr�r|r�)r#r4r5r6r7r8rr�r�r9r:r;s@rzrFrF=s3����E��I��
��
��
��
r|c�`�\sQsQsnQsQs\\U1QkQk22s\\U1QkQk22s	\\U1QkQk22s
\\U1Q	kQ
k22s\\U1QkQk22s\U1Q
kQk2s
QsUsP!)rJiKz9Typed approximation of the return of open() in text mode.c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��TextIO.buffer.__annotate__Rs���
�
��
r|c��P!r�r�rYs&rz�buffer�
TextIO.bufferPrhr|c�":�U]6�cPgQRZ-!r�r)r�r<s"�rzr��TextIO.encoding.__annotate__W����
�
�#�
r|c��P!r�r�rYs&rz�encoding�TextIO.encodingUrhr|c�0:�U]6�cPgQRZP*-!r�r)r�r<s"�rzr��TextIO.errors.__annotate__\s���
�
��d�
�
r|c��P!r�r�rYs&rz�errors�
TextIO.errorsZrhr|c�":�U]6�cPgQRZ-!r�r�)r�r<s"�rzr��"TextIO.line_buffering.__annotate__as���
�
��
r|c��P!r�r�rYs&rz�line_buffering�TextIO.line_buffering_rhr|c�":�U]6�cPgQRZ-!r�)r)r�r<s"�rzr��TextIO.newlines.__annotate__fr�r|c��P!r�r�rYs&rz�newlines�TextIO.newlinesdrhr|c�":�U]6�cPgQRZ-!r�)rJ)r�r<s"�rzr��TextIO.__enter__.__annotate__js���
�
�6�
r|c��P!r�r�rYs&rzr��TextIO.__enter__ir�r|r�)r#r4r5r6r7r8r�rr�r�r�r�r�r�r9r:r;s@rzrJrJKs�����C��I�
��
���
���
���
���
���
���
���
���
���
��
��
r|c�&`�Q39n1U1QkQkt4!)r�c�$:�U]6�cPgQRQR-!)r�r�r�r�)r�r�s"�rzr�r�ns��������r|c�l�[Q[U2O80[OQ5U!)a�Ask a static type checker to reveal the inferred type of an expression.

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 the argument unchanged.
zRuntime type is )�file)�printrur#r �stderrr�s"rzrfrfns*��
��T�#�Y�/�/�2�
3�#�*�*�E��Jr|r�)�	.defaultsr�s @rz�#<generic parameters of reveal_type>rns�����r|c�8`�\sQsQsnU1Qk2sQsUsP!)�_IdentityCallablei�c�*:`�Q39n1UU1QkQkt4!)r�c�(:�U]6�cPgQRYQRY-!ryr�)r�r�r<s"��rzr��'_IdentityCallable.__call__.__annotate__�s�����q���r|c��P!r�r�r�s""rzrb�_IdentityCallable.__call__�s��r|r�)rr�r<s @�rz� <generic parameters of __call__>�2_IdentityCallable.<generic parameters of __call__>�s�����r|r�r�r;s@rzrr�s������r|r�
eq_default�
order_default�kw_only_default�frozen_default�field_specifiersc���U]6�cPgQ[Q[Q[Q[Q[[[*[Q[1**Q1*Q[Q[
-!)	r�rrrrr.r�r�)r�r�rurrr)r�s"rzr�� dataclass_transform.__annotate__�su��Q�Q��Q��Q��	Q�
�Q��D��I���c��(:�:�C�?�@�
Q��Q��Qr|c�*``````�UUUUUU1QkoU!)a�Decorator to mark an object as providing dataclass-like behavior.

The decorator can be applied to a function, class, or metaclass.

Example usage with a decorator function::

    @dataclass_transform()
    def create_model[T](cls: type[T]) -> type[T]:
        ...
        return cls

    @create_model
    class CustomerModel:
        id: int
        name: str

On a base class::

    @dataclass_transform()
    class ModelBase: ...

    class CustomerModel(ModelBase):
        id: int
        name: str

On a metaclass::

    @dataclass_transform()
    class ModelMeta(type): ...

    class ModelBase(metaclass=ModelMeta): ...

    class CustomerModel(ModelBase):
        id: int
        name: str

The ``CustomerModel`` classes defined above will
be treated by type checkers similarly to classes created with
``@dataclasses.dataclass``.
For example, type checkers will assume these classes have
``__init__`` methods that accept ``id`` and ``name``.

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.
- ``frozen_default`` indicates whether the ``frozen`` 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()``.
- Arbitrary other keyword arguments are accepted in order to allow for
    possible future extensions.

At runtime, this decorator records its arguments in the
``__dataclass_transform__`` attribute on the decorated object.
It has no other runtime effect.

See PEP 681 for more details.
c�0:�QRQRQRQRQRQR-UmU!)rrrrrr�)�__dataclass_transform__)�	cls_or_fnrrrrr�rs&������rzr��&dataclass_transform.<locals>.decorator�s4����*��]����n�� 0��f�
-
�	�)��r|r�)rrrrrr�r�sdddddl rzrPrP�s���N	�	��r|�_Funcrrc�<�U]6�cPg[Q[1*!)r�.)rr��.formats"rzrr�s����X�c�3�h�
�r|c�.`�QQQk49n1U1QkQkt4!)�Frrc�"�U]6�cPg[!r�)rrs"rzr r �s���r|c�$:�U]6�cPgQRQR-!)r��methodr�r�)r�r s"�rzr�r��s��� � �q� �� r|c�H�P	UmU![[1cS!h9h)a�Indicate 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 or attribute 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.

There is no runtime checking of this property. The decorator attempts to
set the ``__override__`` attribute to ``True`` on the decorated object to
allow runtime introspection.

See PEP 698 for details.
)�__override__rKr�)r#s"rzrcrc�s6��2
�"����M��
�I�&�
�	
��M�
�r�r�)rr s @rz� <generic parameters of override>r&�s���X��X� � r|c�2�U]6�cPgQ[Q[-!�r�rur�r�)r�s"rzr��is_protocol.__annotate__s����D���r|c�p�[U[29%c[UQP
29%c
U[6g!)z�Return True if the given type is a Protocol.

Example::

    >>> from typing import Protocol, is_protocol
    >>> class P(Protocol):
    ...     def a(self) -> str: ...
    ...     b: int
    >>> is_protocol(P)
    True
    >>> is_protocol(int)
    False
r�)rvrur�rrts"rzrYrYs:��	�2�t��	�	��B���.�	�	��(�N�r|c�H�U]6�cPgQ[Q[[*-!r()rur�rw)r�s"rzr��!get_protocol_members.__annotate__s��,�,�T�,��3��,r|c�n�[U2%f[U8Q02g[UO2!)aDReturn the set of members defined in a Protocol.

Example::

    >>> from typing import Protocol, get_protocol_members
    >>> class P(Protocol):
    ...     def a(self) -> str: ...
    ...     b: int
    >>> get_protocol_members(P) == frozenset({'a', 'b'})
    True

Raise a TypeError for arguments that are not Protocols.
z is not a Protocol)rYr�r�rrts"rzrWrWs1���r�?�?��2�&� 2�3�4�4��R�*�*�+�+r|c���UQ6Xc[OoCL#UQ7c]PH
o[[	V 2]2oCLUQ7c.]PHo[[	UQU02]U[P*1Q5oL�UQ6Xc&]PHoQoUOU[]Q5[oL�UQ6Xc�]PHoUOQQ	QQ
5QQ[P	Q
5oUOQ[Q59^tt^2U[OO ]QQ59o[#2Q$PPP2U![%Q[&8QU802gU[#2U$U!)%fhW!9h)z�Improve the import time of the typing module.

Soft-deprecated objects which are costly to create
are only created on-demand here.
r�Abstract)rrz�_collect_parametersz�The private _collect_parameters function is deprecated and will be removed in a future version of Python. Any use of private functions is discouraged and may break in the future.r�
ByteStringztyping.ByteStringzb{name!r} and 'collections.abc.ByteString' are deprecated and slated for removal in Python {remove})�messager�c�X``�\sQsQsnQP	QP-U1QkksU1QksU1QksQsUsU9s	!)�,__getattr__.<locals>._DeprecatedGenericAliasiLrrc�8:�[RU_VVEQ5V0mP!)rH)r�rH�_removal_version)rFr"r}�removal_versionrrr�s&&&$$$�rzrH�5__getattr__.<locals>._DeprecatedGenericAlias.__init__Ms����� ��t� �G�(7�%r|c�:�]PHoUOUOQUO0UOQ5[
RU_U2!�rrr�)r	r�r4rEr6r�rq)rFrr	r�s&& �rzrq�>__getattr__.<locals>._DeprecatedGenericAlias.__instancecheck__SsJ�����$�$����'�q�����5�d�>S�>S�%���w�0��6�6r|c�:�]PHoUOUOQUO0UOQ5[
RU_U2!r:)r	r�r4rEr6r�rv)rFr�r	r�s&& �rzrv�>__getattr__.<locals>._DeprecatedGenericAlias.__subclasscheck__ZsJ�����$�$����'�q�����5�d�>S�>S�%���w�0��5�5r|)r6)
r#r4r5r6rHrqrvr9r:r�r�s@@rz�_DeprecatedGenericAliasr4Ls)����
8�@D�
8�KO�
8�
7�
6�
6r|r>r|�ignore)�actionr)r7zmodule z has no attribute >rHrI>rr1r�)r�r�re�_aliasr�r�r�r	r
rr�r�ry�catch_warningsr�r�r1rrKr#)rr�rAr�r	rr>r1s&       rzrMrM(sg���|���&�&��	
�%�	%���W�R�&��*��	
�:�	:���W�Z�8�D�6�):�;�Q�T�UY�\`�U`�Tb�c��	
�&�	&��
;�	�
	�
�
�l�-?�A�
�N�&��	
��	������<��
	�	
�	6�&:�$�	6�*�
$�
$��&8�%�
�
�4K����*�*�A�w�4�
�J���<�0�	
����w�x�l�2D�T�H�M�N�N��G�I�d�O��J�
�
���s�,1E
�
E	�E	r�)TN>	r�rr%r�rrrr$r!>r7r�rrHr8r4r3r��__match_args__r�r6r#�__annotate_func__r��__abstractmethods__�__annotations_cache__r9)r��__main__r�)rr+r r!r-r,rr)rr/r2�Buffer)NNFr�)r�>
�_maker��_asdictr�_sourcerH�_replacer8�__getnewargs__�_field_defaults>r#r4r�r�rErG)�r7r�rrr�r�collections.abc�copyregr�r%r r�rr��_typingrrrrr	r
rrr
r�__all__r{r�r�r�r�r�r�r�r�r�r�r�r�r�r
r�rr,r>r�r~r�rur�rr`r\rhr[rrrrrkrrmrlrnrxrRr�r�r�r�r�r�rrrrr�ryr�r�r�r�r�r�r�r�ror�rJ�_TYPING_INTERNALS�_SPECIAL_NAMESr�r�r�r�r�rr�rr�r�r�picklerrqr+rvr'rrr�r%rr8rrgrNrLrXr]r_rUrTrZr|rMr^r��partialr�r�rbrVrOrSrQr�r�r�r�r�r�r�r�r�rwrKrBrr+r.r-r,r r!r2r)rr/rrArr'r#r%r(r&r�rr�r?�dequer<r�rBr$r"rr*r=r>r@r;r:rE�NoneTyper0rr8r6r5r4r7r3r9r�r�r�rr�rCr�r�rrS�sentinelr_rrrDrCrerardr]rirjrGrFrJrfrrPrrcrYrWrMr�r|rz�<module>r[s����((��#�����
�������v��v�
�v��	v�
�v��
v��v��v��v��v��v��v��v��v��v� �!v�"�#v�$�%v�*�+v�,�-v�.�/v�0�1v�2�3v�4�5v�6�7v�8�9v�:�;v�<�=v�>�?v�@�Av�B�Cv�D�Ev�F�Gv�H�Iv�J�Kv�L�Mv�N�Ov�P�Qv�R�Sv�T�Uv�V�Wv�\�]v�^�_v�`�av�b�cv�d�ev�f�gv�h�iv�j�kv�p�qv�r�sv�t�uv�v�wv�x�yv�z�{v�|�}v�~
�v�@�Av�B�Cv�D�Ev�F�Gv�L�Mv�N	�Ov�P�Qv�R�Sv�T
�Uv�Z
�[v�\�]v�^�_v�`�av�b�cv�d�ev�f�gv�h�iv�j�kv�l�mv�n�ov�p�qv�r�sv�t�uv�v�wv�x�yv�z�{v�|�}v�~�v�@�Av�B�Cv�D�Ev�F�Gv�H�Iv�J�Kv�L�Mv�N�Ov�P�Qv�R�Sv�T�Uv�V�Wv�X�Yv�Z�[v�\�]v�^�_v�`�av�b�cv�d�ev�f
�gv�h�iv�j
�kv��r�5�����PU��]a��B@�
�0(�E�&*�E��	E�PS�>�����
�	�
���U��>
�
K�4
�Y�[�4
��4
�"&�4
�6:�4
�NS�4
�nF�F���((/�6�<�t�(/�V0�\��0��L���	"�t�	"�$�H�$�$�4��4�(�4��4�0�4��4�&�4��4�4�(��(�*�(��(�*�"��"�
�
���!?���!?�H�
4��
4� �6��6�2�4(��4(�n�(��(�0�A(��A(�H	�T�	�;��;�
�	;�
�;��
;��;��[�;�|N�O��&�R��"�9$��9$�x%&�P9�VT��d�VT�H_�%�T�_�L9!�<�):�$�9!�x2�L�-�t�2�"&�(��&�B&�%�T�&��T��,!�#9�!�.�D�=��D�)�}�D�)��/:��/:�d:�-�t�:�:3�3���������(�.�8�<U�;V�V���.(�:	�C���
�+�-J�K��8�X�
��:�,�	��������
���*�6�6�7�/����}�n�-�3����� 0�1��$��.�.���.�.��>�"j�G�j�Z
��
��:74�w�-�74�t1"�l�M��1"�h�
���9-���9-�x*�Z�
� v]�!�v]�v	�
�2�<�4*�$!$��O�2!�H:�!��!2�!2�;��!E�F��%�P	3��
!
�H�4�C�L���T�]���T�]���v��&���v��&����4�(���:�T�2����4�t�4��

��5�#�	&��
���+�/�/�*�*�A�.���;�?�?�,�,�a�0�	��;�?�?�,�,�a�0�	��{���4�4�a�8�
��{���4�4�a�8�
��+�/�/�*�*�A�.���+�/�/�*�*�A�.��
�K�O�O�.�.��
2�
��{���$�$�a�(���;�?�?�,�,�a�0�	�
�K�O�O�.�.��
2�
�����1�1�1�5���	���[�_�_�(�(�!�-�@��
�K�O�O�.�.��
2�
�
����(�(�!�
,������6�6��:���+�/�/�*�*�A�.������8�8�!�<���5�"�5�w�7��	��
��d�A�E��/���{� � �!�'�2���S�!�%�e�,���9�a�e�+�>�	��[�_�_�0�0�!�4���+�/�/�*�*�A�.���;�?�?�,�,�a�0�	�
�K�O�O�.�.��
2�
�
�d�A�E��/���[�,�,�a�m�D���[�,�,�a�0��
��$�$�a�
(���+�&�&��*���;�?�?�,�,�a�5�>�>�5�>�>�:Z�[�	�����6�6��U�^�^�DU�V��
�d�A�E��/�����2�
�(�
��
��
�H�
��
��
�h�
��
��
�H�
��
��
�H�
��
��
��
��
��
����D�E���D�E��J�T�J�Z�4�l�l�>�<��R�@���5�
����'���,I*�T�I*�X[�D�[��[�&�[�z�\�\�.�+�r�2�
>�
�7�	���(��(�.�(��(�$�(��(�&;"�;"�~���
�`
����`
�F
�r�%�y�
� 
�R��W� 
�F��&���
Q��Q� �Q�"�	Q�
!�Q�DF�
Q�Q�h �� � �F�*,�&Er|

Youez - 2016 - github.com/yon3zu
LinuXploit