shell bypass 403

GrazzMean-Shell Shell

Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.12.74.180
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : inspect.cpython-313.pyc
�

1}g
�����SrSr/SQrSSKrSSKrSSKrSSKrSSKrSSK	r
SSKrSSKrSSK
r
SSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJr SSKJrJr SSKJr \"5r\R@RC5Hur"r#\"\S	\#-'M C"C#CS
r$SSSS.S
jr%Sr&Sr'Sr(Sr)Sr*\+"\S5(aSr,OSr,\+"\S5(aSr-OSr-Sr.Sr/Sr0\1"5r2Sr3Sr4Sr5Sr6S r7S!r8S"r9S#r:S$r;S%r<S&r=S'r>S(r?S)r@S*rAS+rBS�S,jrCS�S-jrD\"S.S/5rES0rFS1rGSS2.S3jrHS4rIS5rJS6rKS7rLS8rMS9rNS:rOS;rPS�S<jrQ0rR0rSS�S=jrT"S>S?\U5rVS@rWSArX"SBSC\U5rY"SDSE5rZSFr[SGr\SHr]SIr^S�SJjr_\"SKSL5r`SMra\"SNSO5rbSPrc\"SQSR5rdSSreS�STjrfSUrg\hSVSWSX4SYjriSZrjS[rkS\rl\"S]S^5rmS_rn\"S`Sa5ro"SbSc\o5rpSdrqSerrS�SfjrsSgrt\"ShSi\pR�-5rv"SjSk\v5rwS�SljrxS�SmjrySnrzS�Sojr{S�Spjr|\1"5r}\~R�SqGRr�\~R�SrGRr�Ssr�Str�\GR
"5Su5r�Svr�\}4Swjr�Sxr�Syr�Szr�S{r�S|r�S}r�S~r�Sr�S�r�S�r�S�r�S�r�S�r�S�r�S�r�S�r�S�r�S�r�\GR6\GR8\GR:\GR<4r�S�r�S�S�jr�S�r�S�r�S�r�S�r�S�S�jr�S�S�jr�S�S�jr�S�r�S�S�SSSS�.S�jr�"S�S�5r�"S�S�5r�"S�S�\GRZ5r�\�GR^r�\�GRbr�\�GRfr�\�GRjr�\�GRnr�"S�S�5r�"S�S�5r�"S�S�5r�S�SSSS�.S�jr�"S�S�\GRz5r�S�r�\�S�:Xa\�"5 gg)�aFGet useful information from live Python objects.

This module encapsulates the interface provided by the internal special
attributes (co_*, im_*, tb_*, etc.) in a friendlier fashion.
It also provides some help for examining source code and class layout.

Here are some of the useful functions provided by this module:

    ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(),
        isgenerator(), istraceback(), isframe(), iscode(), isbuiltin(),
        isroutine() - check object types
    getmembers() - get members of an object that satisfy a given condition

    getfile(), getsourcefile(), getsource() - find an object's source code
    getdoc(), getcomments() - get documentation on an object
    getmodule() - determine the module that an object came from
    getclasstree() - arrange classes so as to represent their hierarchy

    getargvalues(), getcallargs() - get info about function arguments
    getfullargspec() - same, with support for Python 3 features
    formatargvalues() - format an argument spec
    getouterframes(), getinnerframes() - get info about frames
    currentframe() - get the current stack frame
    stack(), trace() - get info about frames on the stack or in a traceback

    signature() - get a Signature object for the callable

    get_annotations() - safely compute an object's annotations
)zKa-Ping Yee <ping@lfw.org>z'Yury Selivanov <yselivanov@sprymix.com>)h�AGEN_CLOSED�AGEN_CREATED�AGEN_RUNNING�AGEN_SUSPENDED�ArgInfo�	Arguments�	Attribute�BlockFinder�BoundArguments�BufferFlags�CORO_CLOSED�CORO_CREATED�CORO_RUNNING�CORO_SUSPENDED�CO_ASYNC_GENERATOR�CO_COROUTINE�CO_GENERATOR�CO_ITERABLE_COROUTINE�	CO_NESTED�CO_NEWLOCALS�	CO_NOFREE�CO_OPTIMIZED�
CO_VARARGS�CO_VARKEYWORDS�ClassFoundException�ClosureVars�
EndOfBlock�	FrameInfo�FullArgSpec�
GEN_CLOSED�GEN_CREATED�GEN_RUNNING�
GEN_SUSPENDED�	Parameter�	Signature�TPFLAGS_IS_ABSTRACT�	Traceback�classify_class_attrs�cleandoc�currentframe�
findsource�formatannotation�formatannotationrelativeto�formatargvalues�get_annotations�
getabsfile�getargs�getargvalues�getasyncgenlocals�getasyncgenstate�getattr_static�getblock�getcallargs�getclasstree�getclosurevars�getcomments�getcoroutinelocals�getcoroutinestate�getdoc�getfile�getframeinfo�getfullargspec�getgeneratorlocals�getgeneratorstate�getinnerframes�	getlineno�
getmembers�getmembers_static�	getmodule�
getmodulename�getmro�getouterframes�	getsource�
getsourcefile�getsourcelines�
indentsize�
isabstract�
isasyncgen�isasyncgenfunction�isawaitable�	isbuiltin�isclass�iscode�iscoroutine�iscoroutinefunction�isdatadescriptor�isframe�
isfunction�isgenerator�isgeneratorfunction�isgetsetdescriptor�ismemberdescriptor�ismethod�ismethoddescriptor�ismethodwrapper�ismodule�	isroutine�istraceback�markcoroutinefunction�	signature�stack�trace�unwrap�walktree�N)�	iskeyword)�
attrgetter)�
namedtuple�OrderedDict)�ref�CO_iF��globals�locals�eval_strc
�2�[U[5(a�[USS5nU(aE[US5(a4UR	SS5n[U[
R5(aSnOSnSn[USS5nU(a4[RR	US5nU(a
[USS5n[[U55n	Un
O{[U[
R5(a[USS5n[US5nSn	Sn
O>[U5(a[USS5n[USS5nSn	Un
O[U<S35eUc0$[U[5(d[U<S35eU(d0$U(d[U5$U
bk[U
S	5(aU
Rn
M [U
[ R"5(aU
R$n
MM[U
S5(aU
R&nUcUnUcU	=(d 0n[US
S5=n(a UVs0sHo�R(U_M snU-nUR+5V
Vs0sH)up�U
[U[,5(dUO[/X�U5_M+ nn
nU$s snfs snn
f)aUCompute the annotations dict for an object.

obj may be a callable, class, or module.
Passing in an object of any other type raises TypeError.

Returns a dict.  get_annotations() returns a new dict every time
it's called; calling it twice on the same object will return two
different but equivalent dicts.

This function handles several details for you:

  * If eval_str is true, values of type str will
    be un-stringized using eval().  This is intended
    for use with stringized annotations
    ("from __future__ import annotations").
  * If obj doesn't have an annotations dict, returns an
    empty dict.  (Functions and methods always have an
    annotations dict; classes, modules, and other types of
    callables may not.)
  * Ignores inherited annotations on classes.  If a class
    doesn't have its own annotations dict, returns an empty dict.
  * All accesses to object members and dict values are done
    using getattr() and dict.get() for safety.
  * Always, always, always returns a freshly-created dict.

eval_str controls whether or not values of type str are replaced
with the result of calling eval() on those values:

  * If eval_str is true, eval() is called on values of type str.
  * If eval_str is false (the default), values of type str are unchanged.

globals and locals are passed in to eval(); see the documentation
for eval() for more information.  If either globals or locals is
None, this function may replace that value with a context-specific
default, contingent on type(obj):

  * If obj is a module, globals defaults to obj.__dict__.
  * If obj is a class, globals defaults to
    sys.modules[obj.__module__].__dict__ and locals
    defaults to the obj class namespace.
  * If obj is a callable, globals defaults to obj.__globals__,
    although if obj is a wrapped function (using
    functools.update_wrapper()) it is first unwrapped.
�__dict__N�get�__annotations__�
__module__�__globals__z% is not a module, class, or callable.z+.__annotations__ is neither a dict nor None�__wrapped__�__type_params__�)�
isinstance�type�getattr�hasattrrw�types�GetSetDescriptorType�sys�modules�dict�vars�
ModuleType�callable�	TypeError�
ValueErrorr{�	functools�partial�funcrz�__name__�items�str�eval)�objrrrsrt�obj_dict�ann�obj_globals�module_name�module�
obj_localsrh�type_params�param�key�value�return_values                �./opt/alt/python313/lib64/python3.13/inspect.pyr.r.�sp��Z�#�t����3�
�D�1�����%�0�0��,�,�0�$�7�C��#�u�9�9�:�:�����C����c�<��6����[�[�_�_�[�$�7�F��%�f�j�$�?���$�s�)�_�
���	�C��)�)�	*�	*��c�,�d�3���c�:�.���
���	�#����c�,�d�3���c�=�$�7���
����3�'�!F�G�H�H�
�{��	��c�4� � ��C�7�"M�N�O�O���	���C�y��
����v�}�-�-��+�+����&�)�"3�"3�4�4��������6�=�)�)� �,�,�K�����
�~��!�r��
�c�#4�b�9�9�{�9�5@�A�[�E�.�.�%�'�[�A�F�J���)�)�+�(�%�J�C����s�+�+���e�f�1M�N�%��(����B��(s�*J�0Jc�6�[U[R5$)z&Return true if the object is a module.)r~r�r���objects r�rara*����f�e�.�.�/�/�c�"�[U[5$)z%Return true if the object is a class.)r~rr�s r�rSrS.s���f�d�#�#r�c�6�[U[R5$)z0Return true if the object is an instance method.)r~r��
MethodTyper�s r�r^r^2r�r�c�2�[U5(d [U5(d[U5(ag[U[R
5(ag[
U5n[US5=(a) [US5(+=(a [US5(+$)a�Return true if the object is a method descriptor.

But not if ismethod() or isclass() or isfunction() are true.

This is new in Python 2.2, and, for example, is true of int.__add__.
An object passing this test has a __get__ attribute, but not a
__set__ attribute or a __delete__ attribute. Beyond that, the set
of attributes varies; __name__ is usually sensible, and __doc__
often is.

Methods implemented via descriptors that also pass one of the other
tests return false from the ismethoddescriptor() test, simply because
the other tests promise more -- you can, e.g., count on having the
__func__ attribute (etc) when an object passes ismethod().F�__get__�__set__�
__delete__)rSr^rYr~r�r�rr��r��tps  r�r_r_6sx���v���(�6�*�*�j��.@�.@���&�)�+�+�,�,��	
�f��B��B�	�"�
.��B�	�*�*�
.��B��-�-�/r�c��[U5(d [U5(d[U5(ag[U5n[	US5=(d [	US5$)aiReturn true if the object is a data descriptor.

Data descriptors have a __set__ or a __delete__ attribute.  Examples are
properties (defined in Python) and getsets and members (defined in C).
Typically, data descriptors will also have __name__ and __doc__ attributes
(properties, getsets, and members have both of these attributes), but this
is not guaranteed.Fr�r�)rSr^rYrr�r�s  r�rWrWRsF���v���(�6�*�*�j��.@�.@��	
�f��B��2�y�!�>�W�R��%>�>r��MemberDescriptorTypec�6�[U[R5$)�Return true if the object is a member descriptor.

Member descriptors are specialized descriptors defined in extension
modules.)r~r�r�r�s r�r]r]b���
�&�%�"<�"<�=�=r�c��g)r�Fr}r�s r�r]r]j���
r�r�c�6�[U[R5$)�Return true if the object is a getset descriptor.

getset descriptors are specialized descriptors defined in extension
modules.)r~r�r�r�s r�r\r\sr�r�c��g)r�Fr}r�s r�r\r\{r�r�c�6�[U[R5$)aReturn true if the object is a user-defined function.

Function objects provide these attributes:
    __doc__         documentation string
    __name__        name with which this function was defined
    __code__        code object containing compiled function bytecode
    __defaults__    tuple of any default values for arguments
    __globals__     global namespace in which this function was defined
    __annotations__ dict of parameter annotations
    __kwdefaults__  dict of keyword only parameters with defaults)r~r��FunctionTyper�s r�rYrY�s���f�e�0�0�1�1r�c�<�[R"U5n[U5(aURn[U5(aM[R"U5n[U5(d[
U5(dg[URRU-5$)z�Return true if ``f`` is a function (or a method or functools.partial
wrapper wrapping a function or a functools.partialmethod wrapping a
function) whose code object has the given ``flag``
set in its flags.F)
r��_unwrap_partialmethodr^�__func__�_unwrap_partialrY�_signature_is_functionlike�bool�__code__�co_flags)�f�flags  r��_has_code_flagr��sr��
	�'�'��*�A�
�1�+�+�
�J�J���1�+�+��!�!�!�$�A��q�M�M�7��:�:����
�
�#�#�d�*�+�+r�c�"�[U[5$)z�Return true if the object is a user-defined generator function.

Generator function objects provide the same attributes as functions.
See help(isfunction) for a list of attributes.)r�r�r�s r�r[r[�s��
�#�|�,�,r�c��[U5(aURn[U5(aM[R"U5n[	USS5[
L$)N�_is_coroutine_marker)r^r�r�r�r��_is_coroutine_mark�r�s r��_has_coroutine_markr��sE��
�1�+�+�
�J�J���1�+�+��!�!�!�$�A��1�,�d�3�7I�I�Ir�c�V�[US5(aURn[UlU$)zE
Decorator to ensure callable is recognised as a coroutine function.
r�)r�r�r�r�)r�s r�rdrd�s'���t�Z� � ��}�}�� 2�D���Kr�c�F�[U[5=(d [U5$)z�Return true if the object is a coroutine function.

Coroutine functions are normally defined with "async def" syntax, but may
be marked via markcoroutinefunction.
)r�rr�r�s r�rVrV�s���#�|�,�H�0C�C�0H�Hr�c�"�[U[5$)z�Return true if the object is an asynchronous generator function.

Asynchronous generator functions are defined with "async def"
syntax and have "yield" expressions in their body.
)r�rr�s r�rPrP�s���#�1�2�2r�c�6�[U[R5$)z7Return true if the object is an asynchronous generator.)r~r��AsyncGeneratorTyper�s r�rOrO�s���f�e�6�6�7�7r�c�6�[U[R5$)a�Return true if the object is a generator.

Generator objects provide these attributes:
    __iter__        defined to support iteration over container
    close           raises a new GeneratorExit exception inside the
                    generator to terminate the iteration
    gi_code         code object
    gi_frame        frame object or possibly None once the generator has
                    been exhausted
    gi_running      set to 1 when generator is executing, 0 otherwise
    next            return the next item from the container
    send            resumes the generator and "sends" a value that becomes
                    the result of the current yield-expression
    throw           used to raise an exception inside the generator)r~r��
GeneratorTyper�s r�rZrZ�s���f�e�1�1�2�2r�c�6�[U[R5$)z)Return true if the object is a coroutine.)r~r��
CoroutineTyper�s r�rUrU�s���f�e�1�1�2�2r�c�(�[U[R5=(dr [U[R5=(a& [	UR
R[-5=(d$ [U[RR5$)z?Return true if object can be passed to an ``await`` expression.)r~r�r�r�r��gi_coder�r�collections�abc�	Awaitabler�s r�rQrQ�se���v�u�2�2�3�
:��v�u�2�2�3�
F��V�^�^�,�,�/D�D�E�
:�
�v�{���8�8�9�;r�c�6�[U[R5$)aNReturn true if the object is a traceback.

Traceback objects provide these attributes:
    tb_frame        frame object at this level
    tb_lasti        index of last attempted instruction in bytecode
    tb_lineno       current line number in Python source code
    tb_next         next inner traceback object (called by this level))r~r��
TracebackTyper�s r�rcrc�s���f�e�1�1�2�2r�c�6�[U[R5$)a<Return true if the object is a frame object.

Frame objects provide these attributes:
    f_back          next outer frame object (this frame's caller)
    f_builtins      built-in namespace seen by this frame
    f_code          code object being executed in this frame
    f_globals       global namespace seen by this frame
    f_lasti         index of last attempted instruction in bytecode
    f_lineno        current line number in Python source code
    f_locals        local namespace seen by this frame
    f_trace         tracing function for this frame, or None)r~r��	FrameTyper�s r�rXrX�s���f�e�o�o�.�.r�c�6�[U[R5$)aKReturn true if the object is a code object.

Code objects provide these attributes:
    co_argcount         number of arguments (not including *, ** args
                        or keyword only arguments)
    co_code             string of raw compiled bytecode
    co_cellvars         tuple of names of cell variables
    co_consts           tuple of constants used in the bytecode
    co_filename         name of file in which this code object was created
    co_firstlineno      number of first line in Python source code
    co_flags            bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg
                        | 16=nested | 32=generator | 64=nofree | 128=coroutine
                        | 256=iterable_coroutine | 512=async_generator
    co_freevars         tuple of names of free variables
    co_posonlyargcount  number of positional only arguments
    co_kwonlyargcount   number of keyword only arguments (not including ** arg)
    co_lnotab           encoded mapping of line numbers to bytecode indices
    co_name             name with which this code object was defined
    co_names            tuple of names other than arguments and function locals
    co_nlocals          number of local variables
    co_stacksize        virtual machine stack space required
    co_varnames         tuple of names of arguments and local variables)r~r��CodeTyper�s r�rTrT�s��.�f�e�n�n�-�-r�c�6�[U[R5$)aReturn true if the object is a built-in function or method.

Built-in functions and methods provide these attributes:
    __doc__         documentation string
    __name__        original name of this function or method
    __self__        instance to which a method is bound, or None)r~r��BuiltinFunctionTyper�s r�rRrRs���f�e�7�7�8�8r�c�6�[U[R5$)z.Return true if the object is a method wrapper.)r~r��MethodWrapperTyper�s r�r`r`s���f�e�5�5�6�6r�c��[U5=(dA [U5=(d/ [U5=(d [U5=(d [	U5$)z<Return true if the object is any kind of function or method.)rRrYr^r_r`r�s r�rbrb#sG���f��
'��&�!�
'����
'�"�&�)�
'��v�&�	(r�c���[U[5(dgUR[-(ag[	[U5[
R5(dg[US5(agURR5Hup[USS5(dM g URH8n[USS5H$n[XS5n[USS5(dM#  g M: g)z:Return true if the object is an abstract base class (ABC).FT�__abstractmethods__�__isabstractmethod__r}N)r~r�	__flags__r%�
issubclassr��ABCMetar�rvr�r��	__bases__)r��namer��bases    r�rNrN+s����f�d�#�#��
���-�-���d�6�l�C�K�K�0�0���v�,�-�-�����,�,�.����5�0�%�8�8��/�� � ���D�"7��<�D��F�$�/�E��u�4�e�<�<��=�!�
r�c��/n[5n[U5n[U5(au[U5nURHXnUR
R
5H7up�[U	[R5(dM&URU5 M9 MZ OSnUHOn
U"X
5nX�;a[eU(a
U"U5(aURX�45 URU
5 MQ URSS9 U$![a Nsf=f![a/ UH%nX�R
;dMUR
U
n M� M�f=f)Nr}c��US$)Nrjr})�pairs r��<lambda>�_getmembers.<locals>.<lambda>js��$�q�'r��r�)�set�dirrSrHr�rvr�r~r��DynamicClassAttribute�append�AttributeError�add�sort)r��	predicate�getter�results�	processed�names�mror��k�vr�r�s            r��_getmembersrCs3���G���I���K�E��v����V�n��	��(�(�� �M�M�/�/�1�D�A�!�!�U�%@�%@�A�A����Q��2�)�����
	��6�'�E���$�$� ��I�e�,�,��N�N�C�<�(��
�
�c��)�*�L�L�)�L�*��N��5�	��	���	����-�-�'� �M�M�#�.�E����	�s6�AD�D�%D�
D�D�E�6E�	E�Ec�"�[X[5$)z�Return all members of an object as (name, value) pairs sorted by name.
Optionally, only return members that satisfy a given predicate.)rr��r�r�s  r�rDrDms���v�'�2�2r�c�"�[X[5$)aReturn all members of an object as (name, value) pairs sorted by name
without triggering dynamic lookup via the descriptor protocol,
__getattr__ or __getattribute__. Optionally, only return members that
satisfy a given predicate.

Note: this function may not be able to retrieve all members
   that getmembers can fetch (like dynamically created attributes)
   and may find members that getmembers can't (like descriptors
   that raise AttributeError). It can also return descriptor objects
   instead of instance members in some cases.
)rr4rs  r�rErErs���v�.�9�9r�rzname kind defining_class objectc	���[U5n[[U55n[SU55nU4U-nX2-n[U5nUHgnURR5HFupx[
U[R5(dM&URcM5URU5 MH Mi /n	[5n
UGHwnSnSn
SnX�;a{US:Xa[S5e[X5n
[U
SU5nX�;aLSnSnUHn[UUS5nUU
LdMUnM UHnURX5nUU
LdMUnM  UbUnUH*nX�R;dMURUnX�;aUn O UcM�U
bU
OUn[
U[ [R"45(aSnUnOY[
U[$[R&45(aSnUnO/[
U[(5(aSnUnO[+U5(aS	nOS
nU	R[-UUUU55 U
R/U5 GMz U	$![a GM)f=f![a GNf=f)aReturn list of attribute-descriptor tuples.

For each name in dir(cls), the return list contains a 4-tuple
with these elements:

    0. The name (a string).

    1. The kind of attribute this is, one of these strings:
           'class method'    created via classmethod()
           'static method'   created via staticmethod()
           'property'        created via property()
           'method'          any other flavor of method or descriptor
           'data'            not a method

    2. The class which defined this attribute (a class).

    3. The object as obtained by calling getattr; if this fails, or if the
       resulting object does not live anywhere in the class' mro (including
       metaclasses) then the object is looked up in the defining class's
       dict (found by walking the mro).

If one of the items in dir(cls) is stored in the metaclass it will now
be discovered and not have None be listed as the class in which it was
defined.  Any items whose home class cannot be discovered are skipped.
c3�H# �UHo[[4;dMUv� M g7f�N)rr�)�.0�clss  r��	<genexpr>�'classify_class_attrs.<locals>.<genexpr>�s���H�7�C�$���.G�C�C�7�s�"�	"Nrvz)__dict__ is special, don't want the proxy�__objclass__z
static methodzclass method�property�method�data)rHr�tupler�rvr�r~r�r��fgetr�r��	Exceptionr��__getattr__r��staticmethod�BuiltinMethodType�classmethod�ClassMethodDescriptorTyperrbrr�)rr�metamro�class_bases�	all_basesr�r�rr�resultr�r��homecls�get_obj�dict_obj�last_cls�srch_cls�srch_objr��kinds                    r�r'r'�ss��6��+�C��T�#�Y��G��H�7�H�H�G��&�3�,�K��%�I���H�E����M�M�'�'�)�D�A��!�U�8�8�9�9�a�f�f�>P����Q��*���F���I���������� �
+��:�%�#�$O�P�P�!�#�,��"�'�>�7�C���-�#�G�#�H�$/��#*�8�T�4�#@��#�w�.�'/�H�%0�
%,��%�'/�';�';�C�'F�H�$�w�.�'/�H�
%,� �+�"*���D��}�}�$��=�=��.���)�"�G����?�
� �,�g�(���h��u�/F�/F� G�H�H�"�D��C�
��;��0O�0O�"P�
Q�
Q�!�D��C�
��(�
+�
+��D��C�
�s�^�^��D��D��
�
�i��d�G�S�9�:��
�
�d��I�J�M��C .�%�$�%��%�
��
�s$�I�)I�
I�I�
I �I c��UR$)zHReturn tuple of base classes (including cls) in method resolution order.)�__mro__)rs r�rHrH�s���;�;�r���stopc��Un[U5U0n[R"5n[U[5(d�[US5(a�UbU"U5(aU$URn[U5nXS;d[U5U:�a[SRU55eXU'[U[5(d[US5(aM�U$)aPGet the object wrapped by *func*.

Follows the chain of :attr:`__wrapped__` attributes returning the last
object in the chain.

*stop* is an optional callback accepting an object in the wrapper chain
as its sole argument that allows the unwrapping to be terminated early if
the callback returns a true value. If the callback never returns a true
value, the last object in the chain is returned as usual. For example,
:func:`signature` uses this to stop unwrapping if any object in the
chain has a ``__signature__`` attribute defined.

:exc:`ValueError` is raised if a cycle is encountered.

 r{z!wrapper loop when unwrapping {!r})
�idr��getrecursionlimitr~rr�r{�lenr��format)r�r(r��memo�recursion_limit�id_funcs      r�rhrh�s��� 	
�A�
�q�E�1�:�D��+�+�-�O���t�$�$���}�)E�)E����T�
�
���K������T�(���O��T��o�!=��@�G�G��J�K�K��W�
���t�$�$���}�)E�)E��Kr�c�l�UR5n[U5[UR55-
$)zBReturn the indent size, in spaces, at the start of a line of text.)�
expandtabsr,�lstrip)�line�explines  r�rMrMs)���o�o��G��w�<�#�g�n�n�.�/�/�/r�c���[RRUR5nUcgURRS5SSHn[
X5nM [U5(dgU$)N�.���)r�r�rwry�__qualname__�splitr�rS)r�rr�s   r��
_findclassr;!s]��

�+�+�/�/�$�/�/�
*�C�
�{���!�!�'�'��,�S�b�1���c� ��2��3�<�<���Jr�c��[U5(a3URH"nU[LdMURnUcM Us $ g[U5(agURRnURn[U5(a'[[XCS5S5URLaUnGO~URnGOp[U5(a+URn[U5nUb[XS5ULagGO5[U5(aXURnURn[U5(a#URS-U-UR:XaUnO�URnO�[U[ 5(a4URn[UR"5nUb[XS5ULagO�[%U5(d['U5(acURnUR(n[XS5ULag[+U5(a+[USS5n[U[,5(a	X6;aXc$OgURH n[X5RnUcMUs $ g![a GMMf=f![a MDf=f)Nr�r7�	__slots__)rSr&r��__doc__r�r^r�r��__self__r��	__class__rYr;rRr9r~rrr_rWrr]r�)r�r��docr��selfr�slotss       r��_finddocrD+s ���s�|�|��K�K�D��6�!���,�,�C��?��J� ����}�}��|�|�$�$���|�|���D�M�M��G�D��-�z�:�c�l�l�J��C��.�.�C�	�C����|�|����o���;�'�#�,�C�7��8�	�3����|�|���|�|���D�M�M�����#�d�*�c�.>�.>�>��C��.�.�C�	�C��	"�	"��|�|������"���;�'�#�,�C�7��8�	�C�	 �	 �$4�S�$9�$9��|�|�������3��S�(���c�"�"��C��d�3�E��%��&�&�4�=��{�"�������	��$�%�-�-�C��?��J�
���k&�����b�	��	�s#�I�;I.�
I+�*I+�.
I<�;I<c���URnUc[U5n[	U[
5(dg[
U5$![a gf=f![[4a gf=f)z�Get the documentation string for an object.

All tabs are expanded to spaces.  To clean up docstrings that are
indented to line up with blocks of code, any whitespace than can be
uniformly removed from the second line onwards is removed.N)r>r�rDr�r~r�r()r�rAs  r�r<r<hsn����n�n���{�	��6�"�C��c�3�����C�=��������
�	�*�	��	�s �>�A�
A�
A�A!� A!c��UR5RS5n[RnUSSH?n[	URS55nU(dM&[	U5U-
n[
X%5nMA U(aUSRS5US'U[R:a%[S[	U55HnXUSX'M U(a-US(d#UR5 U(aUS(dM#U(a.US(d$URS5 U(aUS(dM$SRU5$)z|Clean up indentation from docstrings.

Any whitespace that can be uniformly removed from the second line
onwards is removed.�
�N� rjr8)
r2r:r��maxsizer,r3�min�range�pop�join)rA�lines�marginr4�content�indent�is       r�r(r({s��

�N�N��"�"�4�(�E��[�[�F��a�b�	���d�k�k�#�&�'���7���Y��(�F���(�F�	�
���8�?�?�3�'��a��
������q�#�e�*�%�A��x���(�E�H�&���b�	�
�	�	����b�	�	�
��a��
�	�	�!����a����9�9�U��r�c�>�[U5(a8[USS5(aUR$[SR	U55e[U5(a�[
US5(ab[RRUR5n[USS5(aUR$URS:Xa[S5e[SR	U55e[U5(aURn[U5(aURn[!U5(aUR"n[%U5(aUR&n[)U5(aUR*$[SR	[-U5R.55e)	z@Work out which source or compiled file an object was defined in.�__file__Nz{!r} is a built-in modulery�__main__�source code not availablez{!r} is a built-in classzVmodule, class, method, function, traceback, frame, or code object was expected, got {})rar�rUr�r-rSr�r�r�rwry�OSErrorr^r�rYr�rc�tb_framerX�f_coderT�co_filenamerr�)r�r�s  r�r=r=�sA�������6�:�t�,�,��?�?�"��3�:�:�6�B�C�C��v����6�<�(�(��[�[�_�_�V�%6�%6�7�F��v�z�4�0�0����&�� � �J�.��9�:�:��2�9�9�&�A�B�B����������&��������6��������v�������
�f�~�~��!�!�!�
�7�7=�v���L�)�)�8+�,�,r�c�0�[RRU5n[RR5Vs/sHn[
U5*U4PM nnUR5 UH"upBURU5(dMUSUs $ gs snf)z1Return the module name for a given file, or None.N)	�os�path�basename�	importlib�	machinery�all_suffixesr,r��endswith)r^�fname�suffix�suffixes�neglens     r�rGrG�s����G�G���T�"�E�#,�"5�"5�"B�"B�"D�F�"D���f�+��v�&�"D�
�F��M�M�O�"����>�>�&�!�!���&�>�!�#���
Fs�Bc��^�[U5m[RRSSnU[RRSS-
n[U4SjU55(aA[RRT5S[RRS-mOJ[U4Sj[RR55(agTRS5(agT[R;aT$[RRT5(aT$[UT5n[!USS5bT$[![!USS5SS5bT$g)	z~Return the filename that can be used to locate an object's source.
Return None if no way can be identified to get the source.
Nc3�F># �UHnTRU5v� M g7fr	�rc�r
�s�filenames  �r�r� getsourcefile.<locals>.<genexpr>�s!����
?�)>�A�8���Q���)>���!rjc3�F># �UHnTRU5v� M g7fr	rjrks  �r�rrn�s&����
9�7�'(�X�
�
�q�
!�
!�7�ro�.fwork�
__loader__�__spec__�loader)r=r`ra�DEBUG_BYTECODE_SUFFIXES�OPTIMIZED_BYTECODE_SUFFIXES�anyr]r^�splitext�SOURCE_SUFFIXES�EXTENSION_SUFFIXESrc�	linecache�cache�existsrFr�)r��all_bytecode_suffixesr�rms   @r�rKrK�s0����v��H�%�/�/�G�G��J���Y�0�0�L�L�Q�O�O��
�
?�)>�
?�?�?��G�G�$�$�X�.�q�1��'�'�7�7��:�;��	�
9��$�$�7�7�
9�
9�
9��	�	�	�8�	$�	$���9�?�?�"���	�w�w�~�~�h�����
�v�x�
(�F��v�|�T�*�6���	����T�2�H�d�	C�	O���
Pr�c��Uc[U5=(d [U5n[RR	[RRU55$)z�Return an absolute path to the source or compiled file for an object.

The idea is for each object to have a unique origin, so this routine
normalizes the result as much as possible.)rKr=r]r^�normcase�abspath)r��	_filenames  r�r/r/�s?��
��!�&�)�<�W�V�_�	�
�7�7���B�G�G�O�O�I�6�7�7r�c���[U5(aU$[US5(a)[RR	UR
5$Ub0U[;a&[RR	[U5$[X5nU[;a&[RR	[U5$[RR5R5H�up4[U5(dM[US5(dM*URnU[R	US5:XaMRU[U'[U5nUR=[U'[[R R#U5'M� U[;a&[RR	[U5$[RSn[US5(dg[X`R5(a[%X`R5nXpLaU$[RSn[X�R5(a[%X�R5n	X�LaU$gg![[4a gf=f)zAReturn the module an object was defined in, or None if not found.ryNrUrVr��builtins)rar�r�r�rwry�
modulesbyfiler/r��FileNotFoundError�copyr�rU�_filesbymodnamer�r]r^�realpathr�)
r�r��file�modnamer�r��main�
mainobject�builtin�
builtinobjects
          r�rFrF�s��������
��v�|�$�$��{�{���v�0�0�1�1����m�!;��{�{���}�Y�7�8�8���&�,���}���{�{���}�T�2�3�3��;�;�+�+�-�3�3�5����F�����
� ;� ;����A��O�'�'���6�6��'(�O�G�$��6�"�A�(.���
7�M�!��}���� � ��#� %�6��}���{�{���}�T�2�3�3��;�;�z�"�D��6�:�&�&���t�_�_�%�%��T�?�?�3�
����K��k�k�*�%�G��w���(�(�����9�
��"��N�#�)��;
�(�)����s�I�I2�1I2c��\rSrSrSrg)rir}N�r�ryr9�__firstlineno__�__static_attributes__r}r�r�rrs��r�rc�D�[U5nU(a[R"U5 OX[U5nUR	S5(a,URS5(aURS5(a[
S5e[X5nU(a![R"XR5nO[R"U5nU(d[
S5e[U5(aUS4$[U5(a/[U5SS-
nU[U5:�a[
S	5eX44$[!U5(aUR"n[%U5(aUR&n[)U5(aUR*n[-U5(aUR.n[1U5(aH[3US
5(d[
S5eUR4S-
nU[U5:�a[
S	5eX44$[
S5e![[4a [
S5ef=f)
aRReturn the entire source file and starting line number for an object.

The argument may be a module, class, method, function, traceback, frame,
or code object.  The source code is returned as a list of all the lines
in the file and the line number indexes a line in that list.  An OSError
is raised if the source code cannot be retrieved.�<�>rqrWzcould not get source coderjr�rHzlineno is out of bounds�co_firstlinenoz"could not find function definitionzcould not find code object)rKr{�
checkcacher=�
startswithrcrXrF�getlinesrvrarSr�r��KeyErrorr,r^r�rYr�rcrYrXrZrTr�r�)r�r�r�rO�lnums     r�r*r*s����� �D�����T�"��v�������%�%�$�-�-��*<�*<�$�-�-�PX�BY�BY��5�6�6�
�v�
$�F�
��"�"�4���9���"�"�4�(����1�2�2������a�x���v���	7���<� 1�2�Q�6�D��3�u�:���3�4�4��{�����������&��������6��������v�������
�f�~�~��v�/�0�0��>�?�?��$�$�q�(���3�u�:���3�4�4��{��
�.�
/�/��+�8�$�	7��5�6�6�	7�s�H�Hc��[U5up[U5(a�SnU(aUSSSS:XaSnU[	U5:aBXR5S;a,US-nU[	U5:aXR5S;aM,U[	U5:a}XSSS:Xaq/nUnU[	U5:aMXSSS:XaBUR
XR55 US-nU[	U5:a
XSSS:XaMBSRU5$ggUS:�Ga�[X5nUS-
nUS:�GayXR5SSS:XGa^[X5U:XGaKXR5R5/nUS:�a�US-
nXR5R5nUSSS:Xa_[X5U:XaNU/USS&US-
nUS:aO<XR5R5nUSSS:Xa[X5U:XaMNU(a<USR5S:Xa%/USS&U(aUSR5S:XaM%U(a<US	R5S:Xa%/US	S&U(aUS	R5S:XaM%SRU5$gggg![[4a gf=f)
zoGet lines of comments immediately preceding an object's source code.

Returns None when source can't be found.
Nrj�z#!rH)��#r�r�r8)r*rXr�rar,�stripr�r2rNrMr3)r�rOr��start�comments�endrR�comments        r�r9r9Us���
� ��(����������U�1�X�b�q�\�T�)�1�5��c�%�j� �U�\�%7�%7�%9�Y�%F��A�I�E��c�%�j� �U�\�%7�%7�%9�Y�%F��3�u�:��%�,�r��"2�c�"9��H��C���E�
�"�u�z�"�1�~��'<�����
� 5� 5� 7�8��A�g����E�
�"�u�z�"�1�~��'<��7�7�8�$�$�
#:��
����E�K�(���Q�h���!�8��
�)�)�+�B�Q�/�3�6��u�z�"�f�,��
�-�-�/�6�6�8�9�H��Q�w��A�g���*�/�/�1�8�8�:���b�q�k�S�(�Z��
�-C�v�-M�$+�9�H�R�a�L���'�C��Q�w��#�j�3�3�5�<�<�>�G�	�b�q�k�S�(�Z��
�-C�v�-M�
�x��{�0�0�2�c�9�!���!���x��{�0�0�2�c�9��x��|�1�1�3�s�:� "����
��x��|�1�1�3�s�:��7�7�8�$�$�
-�7�8�
��%
�Y�����s�
J/�/K�Kc��\rSrSrSrg)ri�r}Nr�r}r�r�rr�s��Tr�rc�$�\rSrSrSrSrSrSrg)r	i�z@Provide a tokeneater() method to detect the end of a code block.c�f�SUlSUlSUlSUlSUlSUlSUlg)NrjFrH)rR�islambda�started�passline�indecorator�last�	body_col0�rBs r��__init__�BlockFinder.__init__�s4�������
������
� �����	���r�c��UR(dAUR(d0US:XaSUlOUS;aUS:XaSUlSUlSUlgU[R
:XaBSUlUSUlUR(a[eUR(aSUlggUR(agU[R:XaDURcUR(a
USUl	URS-Ul
SUlgU[R:Xa+URS-
Ul
URS::a[egU[R:Xa-URbUSUR:�aUSUlgggURS:Xa+U[R[R4;a[egg)N�@T)�def�class�lambdar�FrjrH)r�r�r�r��tokenize�NEWLINEr�r�INDENTr�rR�DEDENT�COMMENT�NL)rBr�token�srowcol�erowcolr4s      r��
tokeneater�BlockFinder.tokeneater�sv���|�|�D�$4�$4���|�#'�� ��4�4��H�$�$(�D�M�#��� �D�M�
�X�%�%�
%�!�D�M���
�D�I��}�}� � ����#(�� � �
�]�]��
�X�_�_�
$��~�~�%�$�,�,�!(������+�+��/�D�K� �D�M�
�X�_�_�
$��+�+��/�D�K��{�{�a�� � � �
�X�%�%�
%��~�~�)�g�a�j�D�N�N�.J�#�A�J��	�/K�)��[�[�A�
�$�x�/?�/?����.M�"M���#N�
r�)r�r�rRr�r�r�r�N)r�ryr9r�r>r�r�r�r}r�r�r	r	�s��J��)r�r	c��[5n[R"[U5R5nUHnUR
"U6 M USUR$![[4a N![a\nSUR;aUSeWtpVUR
"[R/UQ76 SnANg![[4a SnAN}f=fSnAff=f)z@Extract the block of code at the top of the given list of lines.�	unmatchedN)r	r��generate_tokens�iter�__next__r�r�IndentationError�SyntaxError�msgr�r�)rO�blockfinder�tokens�_token�e�_�_token_infos       r�r5r5�s����-�K�
��)�)�$�u�+�*>�*>�?���F��"�"�F�+���"�+�"�"�#�#��
�(�)�
�����a�e�e�#���� ���	��"�"�8�#3�#3�B�k�B�B���,�-�	��	��
�s<�AA�C�.	C�7C�!B4�4C�C�
C�C�Cc�
�[U5n[U5up[U5(aURn[	U5(d*[U5(aURRS:XaUS4$[XS5US-4$)a�Return a list of source lines and starting line number for an object.

The argument may be a module, class, method, function, traceback, frame,
or code object.  The source code is returned as a list of the lines
corresponding to the object and the line number indicates where in the
original source file the first line of code was found.  An OSError is
raised if the source code cannot be retrieved.z<module>rjNrH)	rhr*rcrYrarXrZ�co_namer5�r�rOr�s   r�rLrL�su���F�^�F��V�$�K�E��6�������	����	����V�]�]�2�2�j�@��a�x����e��%�t�a�x�/�/r�c�>�[U5upSRU5$)z�Return the text of the source code for an object.

The argument may be a module, class, method, function, traceback, frame,
or code object.  The source code is returned as a single string.  An
OSError is raised if the source code cannot be retrieved.r�)rLrNr�s   r�rJrJ�s��!��(�K�E�
�7�7�5�>�r�c���/nUR[SS5S9 UHCnURXDR45 XA;dM&UR[	XX55 ME U$)z-Recursive helper function for getclasstree().ryr�r�)r�rlr�r�ri)�classes�children�parentr��cs     r�riri�sZ���G��L�L�Z��j�9�L�:�
������;�;�'�(��=��N�N�8�H�K��=�>���Nr�c�\�0n/nUHvnUR(aJURH8nXR;a/X%'XBU;aX%RU5 U(dM0XP;dM7 MZ M^XC;dMeURU5 Mx UHnXP;dM
URU5 M [X2S5$)a�Arrange the given list of classes into a hierarchy of nested lists.

Where a nested list appears, it contains classes derived from the class
whose entry immediately precedes the list.  Each entry is a 2-tuple
containing a class and a tuple of its base classes.  If the 'unique'
argument is true, exactly one entry appears in the returned structure
for each class in the given list.  Otherwise, classes using multiple
inheritance and their descendants will appear multiple times.N)r�r�ri)r��uniquer��rootsr�r�s      r�r7r7�s����H��E�
���;�;��+�+���)�')�H�$��V�,�,��$�+�+�A�.��6�f�/��&��^��L�L��O����� ��L�L�� ���E�T�*�*r�rzargs, varargs, varkwc��[U5(d[SRU55eURnURnUR
n[
USU5n[
XX#-5nX#-
nSnUR[-(aURUnUS-nSnUR[-(aURUn[XE-Xg5$)a
Get information about the arguments accepted by a code object.

Three things are returned: (args, varargs, varkw), where
'args' is the list of argument names. Keyword-only arguments are
appended. 'varargs' and 'varkw' are the names of the * and **
arguments or None.z{!r} is not a code objectNrH)rTr�r-�co_varnames�co_argcount�co_kwonlyargcount�listr�rrr)�cor��nargs�nkwargs�args�
kwonlyargs�varargs�varkws        r�r0r0s����"�:�:��3�:�:�2�>�?�?��N�N�E��N�N�E��"�"�G���f�u�
��D��e�%�-�0�1�J�	��E��G�	�{�{�Z���.�.��'����	���E�	�{�{�^�#����u�%���T�&��7�7r�rzGargs, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotationsc	��[USS[SS9n/nSnSn/n/n0nSn	0n
URUR
LaURUS'URR5GH%nURnURn
U[La:URU
5 URUR
LaX�R4-
n	O�U[La:URU
5 URUR
LaX�R4-
n	OYU[LaU
nOMU[La9URU
5 URUR
LaURX�'OU[ LaU
nUR"UR
LdGMUR"X�'GM( U
(dSn
U	(dSn	[%Xc-XEU	XzU5$![an[S5UeSnAff=f)a�Get the names and default values of a callable object's parameters.

A tuple of seven things is returned:
(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations).
'args' is a list of the parameter names.
'varargs' and 'varkw' are the names of the * and ** parameters or None.
'defaults' is an n-tuple of the default values of the last n parameters.
'kwonlyargs' is a list of keyword-only parameter names.
'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults.
'annotations' is a dictionary mapping parameter names to annotations.

Notable differences from inspect.signature():
  - the "self" parameter is always reported, even for bound methods
  - wrapper chains defined by __wrapped__ *not* unwrapped automatically
F)�follow_wrapper_chains�skip_bound_arg�sigclsrtzunsupported callableNr}�return)�_signature_from_callabler$rr��return_annotation�empty�
parameters�valuesr$r��_POSITIONAL_ONLYr��default�_POSITIONAL_OR_KEYWORD�_VAR_POSITIONAL�
_KEYWORD_ONLY�_VAR_KEYWORD�
annotationr)r��sig�exr�r�r��posonlyargsr��annotations�defaults�
kwdefaultsr�r$r�s              r�r?r?1s��� 8�"'�t�=B�6;�.7�05�	7���D��G��E��K��J��K��H��J�
���C�I�I�-� #� 5� 5��H�����&�&�(���z�z���z�z���#�#����t�$��}�}�E�K�K�/��]�]�,�,���
�+�
+��K�K����}�}�E�K�K�/��]�]�,�,���
�_�
$��G�
�]�
"����d�#��}�}�E�K�K�/�#(�=�=�
� ��
�\�
!��E����5�;�;�.� %� 0� 0�K��-)�0��
�����{�)�7�8�!�{�<�<��g�8�
�.�/�R�7��8�s�F2�2
G
�<G�G
rzargs varargs keywords localsc�^�[UR5upn[XX0R5$)a)Get information about arguments passed into a particular frame.

A tuple of four things is returned: (args, varargs, varkw, locals).
'args' is a list of the argument names.
'varargs' and 'varkw' are the names of the * and ** arguments or None.
'locals' is the locals dictionary of the given frame.)r0rZr�f_locals)�framer�r�r�s    r�r1r1�s(��#�5�<�<�0��D�5��4�%���8�8r�c�t�[USS5S:Xa$Sn[R"SU[U55$[	U[
R5(a[U5$[	U[5(a:URSU4;aUR$URS-UR-$[U5$)Nry�typingc�D�UR5nURS5$)Nztyping.)�group�removeprefix)�match�texts  r��repl�formatannotation.<locals>.repl�s���;�;�=�D��$�$�Y�/�/r�z[\w\.]+r�r7)r��re�sub�reprr~r��GenericAliasr�rryr9)r��base_moduler	s   r�r+r+�s����z�<��.�(�:�	0��v�v�j�$��Z�(8�9�9��*�e�0�0�1�1��:����*�d�#�#�� � �Z��$=�=��*�*�*��$�$�S�(��)@�)@�@�@��
��r�c�.^�[USS5mU4SjnU$)Nryc�>�[UT5$r	)r+)r�r�s �r��_formatannotation�5formatannotationrelativeto.<locals>._formatannotation�s����
�F�3�3r�)r�)r�rr�s  @r�r,r,�s���
�V�\�4�
0�F�4��r�c��SU-$)N�*r}�r�s r�r�r��s��s�T�zr�c��SU-$)N�**r}rs r�r�r��s��T�D�[r�c��S[U5-$)N�=)r
)r�s r�r�r��s
��c�D��K�.?r�c�N�UXG4Sjn/n	[[U55Hn
U	RU"X
55 M U(a"U	RU"U5U"X15-5 U(a"U	RU"U5U"X25-5 SSRU	5-S-$)aVFormat an argument spec from the 4 values returned by getargvalues.

The first four arguments are (args, varargs, varkw, locals).  The
next four arguments are the corresponding optional formatting functions
that are called to turn names and values into strings.  The ninth
argument is an optional function to format the sequence of arguments.c�(�U"U5U"X5-$r	r})r�rs�	formatarg�formatvalues    r��convert� formatargvalues.<locals>.convert�s������V�\�!:�:�:r��(�, �))rLr,r�rN)r�r�r�rsr�
formatvarargs�formatvarkwrr�specsrSs           r�r-r-�s���$�#�;�
�E�
�3�t�9�
��
���W�T�W�%�&���
���]�7�+�k�&�/�.J�J�K��
���[��'�+�f�m�*D�D�E�����5�!�!�C�'�'r�c�F�UVs/sHoDU;dM
[U5PM nn[U5nUS:XaUSnOAUS:XaSR"U6nO+SR"USS6nUSS2	SRU5U-n[	SXU(aS	OS
US:XaSOSU4-5es snf)
NrHrjr�z	{} and {}z, {} and {}���r"z*%s() missing %i required %s argument%s: %s�
positional�keyword-onlyr�rl)r
r,r-rNr�)	�f_name�argnames�posr�r�r��missingrl�tails	         r��_missing_argumentsr0�s���$,�C�H�D�F�0B�Z�T�$�Z�H�E�C��%�j�G��!�|��!�H��	�A������&���#�#�U�2�3�Z�0���"�#�J��I�I�e��t�#��
�@��&)�l�~�#�q�L�b�c�1�6�6�7�7��
Ds
�	B�Bc
��[U5U-
n[UVs/sHo�U;dM
UPM sn5n	U(aUS:gn
SU4-nO<U(aSn
SU[U54-nO"[U5S:gn
[[U55nSnU	(aSn
X�S:waSOSU	U	S:waSOS4-n[SXU
(aSOSX\US:XaU	(d	S	4-5eS
4-5es snf)NrHzat least %dTz
from %d to %dr�z7 positional argument%s (and %d keyword-only argument%s)rlz5%s() takes %s positional argument%s but %d%s %s given�was�were)r,r�r�)r+r��kwonlyr��defcount�givenr��atleast�arg�kwonly_given�pluralr��
kwonly_sigr�s              r��	_too_manyr<�s���$�i�(�"�G��v�?�v�����v�?�@�L���A����w�j�(��	�����#�d�)� 4�4���T��a����#�d�)�n���J��G���Q�J�S�B��$0�A�$5�S�2�?�?�
�
�K�
��#�R���q�j��U�
C�C�D�D�;A�
C�C�D�D��@s
�	C�Cc	���[U5nUupEpgp�n
URn0n[U5(aURbUR4U-n[	U5n
[	U5nU(a[	U5OSn[X�5n[
U5H
nUUX�U'M U(a[UUS5X�'[XH-5nU(a0X�'UR5HKunnUU;a"U(d[U<SU<35eUX�U'M.UU;a[U<SU<35eUUU'MM X�:�aU(d[X�X�UX�5 X�:aPUSX�-
nUHnUU;dM[UUSU5 M [XNU-
S5HunnUU;dMUUUU'M SnUH'nUU;dMU	(aUU	;a
U	UUU'M"US-
nM) U(a
[X�SU5 U$)z�Get the mapping of arguments to values.

A dict is returned, with keys the function argument names (including the
names of the * and ** arguments, if any), and values the respective bound
values from 'positional' and 'named'.Nrjz&() got an unexpected keyword argument z$() got multiple values for argument TrHF)r?r�r^r?r,rKrLrr�r�r�r<r0�	enumerate)r�r)�named�specr�r�r�r�r��kwonlydefaultsr�r+�	arg2value�num_pos�num_args�num_defaults�nrS�possible_kwargs�kwr��reqr8r.�kwargs                         r�r6r6�s
���$��D�FJ�C�D�5�J��
�]�]�F��I���~�~�$�-�-�3��m�m�%�
�2�
��*�o�G��4�y�H�$,�3�x�=�!�L��G��A�
�1�X��'��]�	�q�'����"�:�a�b�>�2�	���$�+�,�O���	���[�[�]�	��E�
�_�$���!'��!-�.�.�#(�I��R� ��
��?��#�R�)�*�
*��	�"�
�#���'��&�
�\��	'����+�H�+�,���C��)�#�"�6�3��i�@�� ���%<�%=� >�?�F�A�s��)�#�!)�!��	�#��@��G����	�!��%�>�"9�#1�%�#8�	�%� ��1������6�u�i�@��r�rz"nonlocals globals builtins unboundc��[U5(aURn[U5(d[SR	U55eUR
nURc0nO>[URUR5VVs0sHup4X4R_M nnnURnURS[R5n[U5(aURn0n0n[5n	[5n
[ R""U5HMnUR$nUR&n
US:XaU	R)U
5 M4US:XdM<U
R)U
5 MO U
H
n
X]X}'M [-X'X�5$s snnf![*a. XmX�'M4![*a U	R)U
5 MSf=ff=f)a
Get the mapping of free variables to their current values.

Returns a named tuple of dicts mapping the current nonlocal, global
and builtin references as seen by the body of the function. A final
set of unbound names that could not be resolved is also provided.
�{!r} is not a Python function�__builtins__�	LOAD_ATTR�LOAD_GLOBAL)r^r�rYr�r-r��__closure__�zip�co_freevars�
cell_contentsrzrwr�rvrar��dis�get_instructions�opname�argvalr�r�r)r��code�
nonlocal_vars�var�cell�	global_ns�
builtin_ns�global_vars�builtin_vars�
unbound_names�global_names�instructionrVr�s              r�r8r8)s�����~�~��}�}���d����7�>�>�t�D�E�E��=�=�D������
�!��!1�!1�4�3C�3C�D�	�D�	��
�$�$�$�D�	�	�� � �I����~�x�/@�/@�A�J��
����(�(�
��K��L��E�M��5�L��+�+�D�1���#�#���!�!���[� ����d�#�
�}�
$����T�"�
2���	(� )��K����}�#�4�4��?	��2�	(�
(�%/�%5��"���
(��!�!�$�'�'�
(��	(�s0�F�.F
�

G�F�F>�9G�=F>�>G�
_Tracebackz+filename lineno function code_context indexc�6^�\rSrSrSS.U4SjjrSrSrU=r$)r&idN��	positionsc�6>�[TU]XX#XE5nXglU$r	��super�__new__rf)	rrm�lineno�function�code_context�indexrf�instancer@s	        �r�rj�Traceback.__new__es ����7�?�3�&�L�X��&���r�c��SRURURURURUR
UR5$)NzcTraceback(filename={!r}, lineno={!r}, function={!r}, code_context={!r}, index={!r}, positions={!r}))r-rmrkrlrmrnrfr�s r��__repr__�Traceback.__repr__js@��@�@F���
�
�t�{�{�D�M�M�4�;L�;L��
�
�D�N�N�A,�	-r�r}�r�ryr9r�rjrrr��
__classcell__�r@s@r�r&r&ds���SW���
-�-r�r&c�Z�URRURp![X5$r	)rYrZ�tb_lasti�_get_code_position)�tbrX�instruction_indexs   r��_get_code_position_from_tbr|ps#�� �k�k�0�0�"�+�+�
��d�6�6r�c�v�US:agUR5n[[R"X!S-S55$)Nrj)NNNNr�)�co_positions�next�	itertools�islice)rXr{�
positions_gens   r�ryryts8���1��'��%�%�'�M��	� � ��Q�0F��M�N�Nr�c
��[U5(a$[U5nURnURnO,URn[URUR5nUScX/USSQ7tpOU/UQ7tpUSn[U5(d[SRU55e[U5=(d [U5nUS:�aJUS-
US--
n[U5upg[S[U[!U5U-
55nXeXQ-nUS-
U-
nOS=ph[%XCURR&UU[(R*"U6S9$!["a S=phNAf=f)aGet information about a frame or traceback object.

A tuple of five things is returned: the filename, the line number of
the current line, the function name, a list of lines of context from
the source code, and the index of the current line within that list.
The optional second argument specifies the number of lines of context
to return, which are centered around the current line.rjNrHz'{!r} is not a frame or traceback objectr�re)rcr|�	tb_linenorY�f_linenoryrZ�f_lastirXr�r-rKr=r*�maxrKr,rXr&r�rT�	Positions)	r�contextrfrkrmr�rOr�rns	         r�r>r>{sh���5���.�u�5�	�������������&�u�|�|�U�]�]�C�	���|��"�;�Y�q�r�]�;���	�"�/�Y�/���
�q�\�F��5�>�>��A�H�H��O�P�P��U�#�5�w�u�~�H���{���
�W�a�Z�'��	'�$�U�+�K�E���3�u�c�%�j�7�&:�;�<�E���
�.�E��Q�J��&�E�����X�u�|�|�';�';�U��c�m�m�Y�&?�A�A���	!� � �E�E�	!�s�
E
�

E�Ec��UR$)zCGet the line number from a frame object, allowing for optimization.)r��rs r�rCrC�s���>�>�r��
_FrameInfor�c�6^�\rSrSrSS.U4SjjrSrSrU=r$)ri�Nrec	�8>�[T	U]XX#XEU5nXxlU$r	rh)
rrrmrkrlrmrnrfror@s
         �r�rj�FrameInfo.__new__�s#����7�?�3�x��Y^�_��&���r�c	��SRURURURURUR
URUR5$)NzoFrameInfo(frame={!r}, filename={!r}, lineno={!r}, function={!r}, code_context={!r}, index={!r}, positions={!r}))r-rrmrkrlrmrnrfr�s r�rr�FrameInfo.__repr__�sG��@�@F���
�
�D�M�M�4�;�;��
�
��!�!�4�:�:�t�~�~�A?�	@r�r}rtrvs@r�rr�s���Z^���
@�@r�rc��/nU(aJ[X5nU4U-nUR[USUR065 URnU(aMJU$)z�Get a list of records for a frame and all higher (calling) frames.

Each record contains a frame object, filename, line number, function
name, a list of lines of context, and index within the context.rf)r>r�rrf�f_back)rr��	framelist�traceback_info�	frameinfos     r�rIrI�sX��
�I�
�%�e�5���H�~�-�	�����I�R��9Q�9Q�R�S�����	�%�
�r�c��/nU(aT[X5nUR4U-nUR[USUR065 UR
nU(aMTU$)z�Get a list of records for a traceback's frame and all lower frames.

Each record contains a frame object, filename, line number, function
name, a list of lines of context, and index within the context.rf)r>rYr�rrf�tb_next)rzr�r�r�r�s     r�rBrB�s\��
�I�
�%�b�2���[�[�N�^�3�	�����I�R��9Q�9Q�R�S�
�Z�Z��	
�"�
�r�c�\�[[S5(a[R"S5$S$)z?Return the frame of the caller or None if this is not possible.�	_getframerHN)r�r�r�r}r�r�r)r)�s"��&�s�K�8�8�3�=�=���B�d�Br�c�B�[[R"S5U5$)z@Return a list of records for the stack above the caller's frame.rH)rIr�r�)r�s r�rfrf�s���#�-�-��*�G�4�4r�c�d�[R"5nUcSOURn[X 5$)zCReturn a list of records for the stack below the current exception.N)r��	exception�
__traceback__rB)r��excrzs   r�rgrg�s)��

�-�-�/�C����#�"3�"3�B��"�&�&r�r&rvc��0n[RUS5n[R	X![
5$![a N&f=f�Nrv)r��__getattribute__r�r�rw�	_sentinel)r��attr�
instance_dicts   r��_check_instancer��sE���M�
��/�/��Z�@�
��8�8�M��3�3���
��
�s�4�
A�Ac��[U5H@n[[U55[LdM XR;dM1URUs $ [$r	)�_static_getmro�_shadowed_dictrr�rv)�klassr��entrys   r��_check_classr��sB����&���$�u�+�&�)�3����8N��>�>�$�'�'�'��r�c���UHanU"5n[U5nSU;dMUSn[U5[RLa!URS:XaUR
ULaM_Us $ [$r�)�_get_dunder_dict_of_classrr�r�r�rr�)�weakref_mro�
weakref_entryr��dunder_dict�
class_dicts     r��%_shadowed_dict_from_weakref_mro_tupler��sn��$�
����/��6����$�$�Z�0�J���$��(B�(B�B��'�'�:�5��+�+�u�4�!�!�%��r�c�b�[[U5Vs/sHn[U5PM sn6$s snfr	)r�r��make_weakref)r�r�s  r�r�r�s2��1�+9�%�+@�	A�+@�%�,�u�
�+@�	A����	As�,c��[n[U5n[[U5;a>Un[U5nU[Ld[U5[R
La[
X5nOUn[XQ5nU[La_U[LaV[[U5S5[La:[[U5S5[Ld[[U5S5[LaU$U[LaU$U[LaU$XLaX[[U55H@n[[U55[LdM XR;dM1URUs $ U[LaU$[U5e)a�Retrieve attributes without triggering dynamic lookup via the
descriptor protocol,  __getattr__ or __getattribute__.

Note: this function may not be able to retrieve all attributes
that getattr can fetch (like dynamically created attributes)
and may find attributes that getattr can't (like descriptors
that raise AttributeError). It can also return descriptor objects
instead of instance members in some cases. See the
documentation for details.
r�r�r�)
r�rr�r�r�r�r�r�rvr�)	r�r�r��instance_result�objtyper��	dict_attr�klass_resultr�s	         r�r4r4s+�� �O��3�i�G��>�'�*�*���"�5�)�	���"���O�u�9�9�9�-�c�8�O������,�L��i�'�L�	�,I���\�*�I�6�i�G���l�+�Y�7�y�H��D��.��=�Y�N����i�'����9�$���
�|�#�D��K�0�E��t�E�{�+�y�8��N�N�*��~�~�d�+�+�1��i����
��
�r�r r!r"rc��UR(a[$UR(a[$URc[
$[$)aGet current state of a generator-iterator.

Possible states are:
  GEN_CREATED: Waiting to start execution.
  GEN_RUNNING: Currently being executed by the interpreter.
  GEN_SUSPENDED: Currently suspended at a yield expression.
  GEN_CLOSED: Execution has completed.
)�
gi_runningr!�gi_suspendedr"�gi_framerr )�	generators r�rArAQs:���������������!����r�c��[U5(d[SRU55e[USS5nUbURR
$0$)z�
Get the mapping of generator local variables to their current values.

A dict is returned, with the keys the local variable names and values the
bound values.z{!r} is not a Python generatorr�N)rZr�r-r�r�r)r�rs  r�r@r@csQ���y�!�!��8�?�?�	�J�K�K��I�z�4�0�E����!�!�*�*�*��	r�r
rrrc��UR(a[$UR(a[$URc[
$[$)aGet current state of a coroutine object.

Possible states are:
  CORO_CREATED: Waiting to start execution.
  CORO_RUNNING: Currently being executed by the interpreter.
  CORO_SUSPENDED: Currently suspended at an await expression.
  CORO_CLOSED: Execution has completed.
)�
cr_runningr�cr_suspendedr�cr_framerr
)�	coroutines r�r;r;{s:���������������!����r�c�>�[USS5nUbUR$0$)z�
Get the mapping of coroutine local variables to their current values.

A dict is returned, with the keys the local variable names and values the
bound values.r�N)r�r)r�rs  r�r:r:�s'��
�I�z�4�0�E����~�~���	r�rrrrc��UR(a[$UR(a[$URc[
$[$)aGet current state of an asynchronous generator object.

Possible states are:
  AGEN_CREATED: Waiting to start execution.
  AGEN_RUNNING: Currently being executed by the interpreter.
  AGEN_SUSPENDED: Currently suspended at a yield expression.
  AGEN_CLOSED: Execution has completed.
)�
ag_runningr�ag_suspendedr�ag_framerr)�agens r�r3r3�s6�������������}�}�����r�c��[U5(d[U<S35e[USS5nUbURR$0$)z�
Get the mapping of asynchronous generator local variables to their current
values.

A dict is returned, with the keys the local variable names and values the
bound values.z  is not a Python async generatorr�N)rOr�r�r�r)r�rs  r�r2r2�sK���d����4�(�"B�C�D�D��D�*�d�+�E����}�}�%�%�%��	r�c��US:Xa
[XS5nO[XS5nUb[U[5(agUS:wa[	X 5nU$)z~Private helper. Checks if ``cls`` has an attribute
named ``method_name`` and returns it only if it is a
pure python function.
rjN)r�r4r~�_NonUserDefinedCallables�_descriptor_get)r�method_name�meths   r��"_signature_get_user_defined_methodr��sR��
�i���s��.���c��5���|�z�$�(@�A�A���i���t�)���Kr�c��URn[UR55nUR=(d SnUR=(d 0nU(aX%-nUR
"U0UD6nSn
UR5GHfup�URUn
UR[LaURU5 M<UR[La6X�;aSn
URU
S9XK'OURUR5 M�UR[ LaURU
S9XK'U
(dM�UR[LdeUR[La-XKR[ S9nX�U'UR%U5 GMUR[ [&4;aUR%U5 GM5UR[(LdGMKURUR5 GMi URUR+5S9$![a"nSRU5n	[U	5UeSnAff=f!["a GNf=f)	z�Private helper to calculate how 'wrapped_sig' signature will
look like after applying a 'functools.partial' object (or alike)
on it.
r}z+partial object {!r} has incorrect argumentsNFT)r��r$�r�)r�rnr�r��keywords�bind_partialr�r-r��	argumentsr$r�rMr��replacer�r�r��move_to_endr�r�r�)�wrapped_sigr��
extra_args�
old_params�
new_params�partial_args�partial_keywords�bar�r��transform_to_kwonly�
param_namer��	arg_value�	new_params               r��_signature_get_partialr��s���'�'�J��Z�-�-�/�0�J��<�<�%�2�L��'�'�-�2���!�0��&�
�
%�
%�|�
H�7G�
H�� ��'�-�-�/��
�#	J����Z�0�I��z�z�-�-����z�*���z�z�3�3��1�+/�'�-2�]�]�9�]�-M�J�*��N�N�5�:�:�.���z�z�]�*�).���y��)I�
�&����:�:�%5�5�5�5��z�z�3�3�&�2�:�:�
�:�N�	�)2�:�&��&�&�z�2����
�|�<�<��&�&�z�2�����.����u�z�z�*�a0�d���*�*;�*;�*=��>�>��q�&�;�B�B�7�K����o�2�%��&���	��	�s*�H�H7�
H4�H/�/H4�7
I�Ic�6�[URR55nU(aUSR[[
4;a[
S5eUSRnU[[4;aUSSnOU[La[
S5eURUS9$)zOPrivate helper to transform signatures for unbound
functions to bound methods.
rjzinvalid method signaturerHNzinvalid argument typer�)rr�r�r$r�r�r�r�r�r�r�)r��paramsr$s   r��_signature_bound_methodr�/s���
�3�>�>�(�(�*�
+�F��V�A�Y�^�^��m�'D�D��3�4�4��!�9�>�>�D��&�(8�9�9��������&��4�5�5��;�;�&�;�)�)r�c��[U5=(d@ [U5=(d. [U[5=(d U[L=(d U[
L$)zpPrivate helper to test if `obj` is a callable that might
support Argument Clinic's __text_signature__ protocol.
)rRr_r~r�rr�r�s r��_signature_is_builtinr�IsI��
�c�N�
)��s�#�
)��s�4�5�
)�
�4�K�
)��&�=�*r�c��[U5(a[U5(ag[USS5n[USS5n[US[5n[US[5n[USS5n[	U[
R5=(av [	U[5=(a_ USL=(d [	U[5=(a= USL=(d [	U[5=(a [	U[5=(d USL$)z�Private helper to test if `obj` is a duck type of FunctionType.
A good example of such objects are functions compiled with
Cython, which have all attributes that a pure Python function
would have, but have their code statically compiled.
Fr�Nr��__defaults__�__kwdefaults__rx)
r�rSr��_voidr~r�r�r�rr�)r�r�rXr�r�r�s      r�r�r�Ws����C�=�=�G�C�L�L���3�
�D�)�D��3�
�D�)�D��s�N�E�2�H���.��6�J��#�0�$�7�K��t�U�^�^�,�
E��t�S�!�
E�
��
�
<��H�e�!<�
E��4�
�
?�:�j�$�#?�
E���d�
,�
C��t�0C�	Gr�c��U(dUS4$SnURS5Vs/sHo"(dMURS5PM nn[U5Rn[R"U5n/nUR
nSn[Rn	[Rn
[U5nUR[R:XdeUHVnURURp�X�:XaU
S:XaUS-
nX�:XaU
S:Xa	UbeUnM>U"U
5 U
S:XdMNU"S5 MX S	RU5R5RSS	5nX�4$s snf)
a-
Private helper function. Takes a signature in Argument Clinic's
extended signature format.

Returns a tuple of two things:
  * that signature re-rendered in standard Python syntax, and
  * the index of the "self" parameter (generally 0), or None if
    the function does not have a "self" parameter.
NrG�asciirj�,rH�$rIr�)r:�encoder�r�r�r�r��OP�
ERRORTOKENrr�ENCODING�stringrNr�r�)re�self_parameter�lrOr��token_streamrr��current_parameterr�r��trr��clean_signatures               r��"_signature_strip_non_python_syntaxr�psF����$����N�(1����(=�C�(=�1��
�Q�X�X�g�
�(=�E�C��U��$�$�I��$�$�Y�/�L�
�D�
�+�+�C���	���B��!�!�J�	
�\��A��6�6�X�&�&�&�&�&�
���v�v�q�x�x�f��:���}�!�Q�&�!��J�V�s�]�!�)�)�)�.�N���F���c�M���H���g�g�d�m�)�)�+�3�3�D�"�=�O��*�*��?
Ds
�
E�ETc��^^^^^^^^^^�URm[U5upESU-S-n[R"U5n[U[R5(d[SRT55eURSn/mTRmSn0m[TSS5n	U	(d[TSS5n
[U
SS5n	U	(a3[RRU	S5nU(aURm[RR!5mSmUU4S	jm"U4S
jS[R"5mT4UUUUUUU4Sjjn[%UR&R(5[%UR&R&5-nU[%UR&R*5-
n
[,R."[,R0"SU
5UR&R*5nTR2m[5UR&R(U5HunnU"UU5 M TR6m[5UR&R&U5HunnU"UU5 M UR&R8(a)TR:mU"UR&R8T5 TR<m[5UR&R>UR&R@5HunnU"UU5 M UR&RB(a)TRDmU"UR&RBT5 UbmT(de[TS
S5nUSLn[GU5nU(a U(dU(aTRIS5 O!TSRKTR2S9nUTS'U"TURS9$![a SnGN�f=f)z\Private helper to parse content of '__text_signature__'
and return a Signature based on it.
zdef fooz: passN�"{!r} builtin has invalid signaturerjryrc��[U[R5(deURb[	S5eUR$)Nz'Annotations are not currently supported)r~�astr8r�r�)�nodes r��
parse_name�&_signature_fromstr.<locals>.parse_name�s8���$����(�(�(�(��?�?�&��F�G�G��x�x�r�c� >�[UT5n[U[[
[[[[S545(a[R"U5$[e![a$ [UT5nNi![a [ef=ff=fr	)r��	NameErrorr�r~r��int�float�bytesr�rr�Constant)rlr��module_dict�sys_module_dicts  ��r��
wrap_value�&_signature_fromstr.<locals>.wrap_value�s����	!���K�(�E��e�c�3��u�d�D��J�G�H�H��<�<��&�&�����	!�
!��Q��0����
!� � �
!��	!�s�A�
B
�*A8�8B	�	B
c�4>�\rSrSrU4SjrU4SjrSrSrg)�,_signature_fromstr.<locals>.RewriteSymbolicsi�c�>�/nUn[U[R5(aHURUR5 UR
n[U[R5(aMH[U[R5(d[eURUR5 SR[U55nT"U5$)Nr7)r~rrr�r�r��Namer�r*rN�reversed)rBr�arFr�rs     �r��visit_Attribute�<_signature_fromstr.<locals>.RewriteSymbolics.visit_Attribute�s�����A��A��Q��
�
�.�.������� ��G�G���Q��
�
�.�.��a����*�*� � �
�H�H�Q�T�T�N��H�H�X�a�[�)�E��e�$�$r�c�>�[UR[R5(d
[	5eT"UR
5$r	)r~�ctxr�Loadr�r*)rBrrs  �r��
visit_Name�7_signature_fromstr.<locals>.RewriteSymbolics.visit_Name�s/����d�h�h����1�1� �l�"��d�g�g�&�&r�c��URUR5nURUR5n[U[R
5(a[U[R
5(d[e[UR[R5(a-[R
"URUR-5$[UR[R5(a-[R
"URUR-
5$[UR[R5(a-[R
"URUR-5$[er	)�visit�left�rightr~rrr��op�Addr��Sub�BitOr)rBrr r!s    r��visit_BinOp�8_signature_fromstr.<locals>.RewriteSymbolics.visit_BinOp�s����:�:�d�i�i�(�D��J�J�t�z�z�*�E��d�C�L�L�1�1��E�3�<�<�9X�9X� � ��$�'�'�3�7�7�+�+��|�|�D�J�J����$<�=�=��D�G�G�S�W�W�-�-��|�|�D�J�J����$<�=�=��D�G�G�S�Y�Y�/�/��|�|�D�J�J����$<�=�=��r�r}N)r�ryr9r�rrr&r�)rs�r��RewriteSymbolicsr�s���
	%�	'�

	r�r(c	�>�T
"U5nU(a6U[La-T"5RU5n[R"U5nT	R
T"UTUTS95 g![a [	SRT55Sef=f)Nr�r�r�)�_emptyrr�literal_evalr�r-r�)�	name_node�default_noder�r�r#r(r�r$r�r�rs    �������r��p�_signature_fromstr.<locals>.p�s�����)�$���L��6�
]�/�1�7�7��E���*�*�<�8��	���)�D�$��E�R�S���
]� �!E�!L�!L�S�!Q�R�X\�\�
]�s�,A � &Br?r��r�)&�_parameter_clsr�r�parser�r~�Moduler�r-�bodyr�r�r�r�rwrvr��NodeTransformerr,r�r�r�r��chain�repeat�POSITIONAL_ONLYrQ�POSITIONAL_OR_KEYWORD�vararg�VAR_POSITIONAL�KEYWORD_ONLYr��kw_defaultsrJ�VAR_KEYWORDrarMr�)rr�rlr�r�r��programr�r�r��objclassr/�total_non_kw_args�required_non_kw_argsr�r�r��_self�self_isbound�
self_ismoduler#r(r�r$r
r�rrrs `                  @@@@@@@@@r��_signature_fromstrrG�s�����"�"�I�&H��&K�#�O��/�)�H�4�G�����7�#���f�c�j�j�)�)��=�D�D�S�I�J�J����A��A��J��O�O�E�
�F��K��#�|�T�2�K���3���5���h��d�;���������d�3��� �/�/�K��k�k�&�&�(�O����3�.�.��B,1�T�T��A�F�F�.�.�/�#�a�f�f�k�k�2B�B��,�s�1�6�6�?�?�/C�C�����y�/�/��6J�K�Q�V�V�_�_�]�H��$�$�D��q�v�v�1�1�8�<���w�	�$���=��*�*�D��q�v�v�{�{�H�5���w�	�$���6�	�v�v�}�}��'�'��	�!�&�&�-�-����!�!�D��Q�V�V�.�.����0B�0B�C�
��g�	�$���D�	�v�v�|�|��$�$��	�!�&�&�,�,����!���z���Z��.���D�(�� ���
��]�n��N�N�1���1�
�%�%�9�+D�+D�%�E�A��J�q�M��z�S�Y�Y�7�7��I�����s�O�O#�"O#c���[U5(d[SRU55e[USS5nU(d[	SRU55e[XX25$)z@Private helper function to get signature for
builtin callables.
z%{!r} is not a Python builtin function�__text_signature__Nz#no signature found for builtin {!r})r�r�r-r�r�rG)rr�r�rls    r��_signature_from_builtinrJ5	sb��
!��&�&��#�#)�6�$�<�1�	1�	��*�D�1�A���>�E�E�d�K�L�L��c��;�;r�c
���Sn[U5(d-[U5(aSnO[SRU55e[	USS5nU(a[XXr5$URnURn	U	Rn
U	RnU	RnUSU
n
U	RnX�X�-n[XXES9nURnURnU(a[U5nOSn/nU
U-
nUnU
SUHQnU(a[ O["nUR%U[&5nUR)U"UUUS95 U(dMLUS	-nMS [+U
US5HXunnU(a[ O["nUR%U[&5nUR)U"UUUUUS
95 U(dMSUS	-nMZ U	R,[.-(a8X�U-nUR%U[&5nUR)U"UU[0S95 UHTn[&nUbUR%U[&5nUR%U[&5nUR)U"UU[2US
95 MV U	R,[4-(aWX�-nU	R,[.-(aUS	-
nUUnUR%U[&5nUR)U"UU[6S95 U"UUR%S[&5US9$)
zCPrivate helper: constructs Signature for the given python function.FTrLrINrqrj)r�r$rH)r�r$r�r��r��__validate_parameters__)rYr�r�r-r�rGr2r�r�r��co_posonlyargcountr�r.r�r�r,r�r�rwr+r�r>r�rr�r�rr�)rr�r�rrrsrt�is_duck_functionrlr#�	func_code�	pos_count�	arg_names�
posonly_countr)�keyword_only_count�keyword_onlyr�r�r��pos_default_countr��non_default_count�posonly_leftr�r$r��offsetr�rns                             r��_signature_from_functionrZE	s������d���%�d�+�+�#���;�B�B�4�H�I�I���*�D�1�A��!�#�Q�?�?��"�"�I��
�
�I��%�%�I��%�%�I��0�0�M��:�I�&�J�"�4�4���y�'E�F�L�!�$��Z�K�� � �H��$�$�J����M�����J�!�$5�5�� �L��-�-�.��#/��5K�� �_�_�T�6�2�
����)�D�Z�)-�/�	0��<��A��L�
/�"�*�->�-?�"@�A����#/��5K�� �_�_�T�6�2�
����)�D�Z�)-�,4�V�,<�>�	?��<��A��L�B����J�&��%7�7�8�� �_�_�T�6�2�
����)�D�Z�)8�:�	;������!� �n�n�T�6�2�G� �_�_�T�6�2�
����)�D�Z�)6�,3�5�	6�
����N�*��.�����
�*��Q�J�E����� �_�_�T�6�2�
����)�D�Z�)5�7�	8�
�z�!,����6�!B�'7�9�9r�c��[U5(aU$[[U5S[5nU[LaU$U"X[U55$)Nr�)rSr�rr�)�
descriptorr�rws   r�r�r��	sE���z�����
�$�z�"�I�y�
9�C�
�i�����z��S�	�*�*r�)r�r�rrrsrtc
�	�[R"[UUUUUUS9n[U5(d[	SRU55e[
U[R5(a&U"UR5nU(a[U5$U$U(a2[USS9n[
U[R5(aU"U5$URnUb�Un	[
U[[45(d[U5(aU"5n[
U[5(a[X`U5n[
U[5(d[	SRU	55eU$UR"n
[
U
[R$5(a�U"U
R&5n[)X�S5n[+UR,R/55SnUR0[2R4LaU$[+UR,R/55n
U
(a	X�SLdeU4U
-nUR7US	9$[
U[R5(aU"UR&5n[)X�5$[9U5(d[;U5(a[=X`UX4US
9$[?U5(a
[AX`US9$[
U[B5(GaR[E[CU5S5nUbU"U5$[EUS
5n[EUS5nURFHSnUb.S
URH;aU"U5nU(a[U5nUs $UcM9SURH;dMKU"U5s $ URFSSH&nURJnU(a[UUU5s $M( [BURF;aiURL[NRLLa2URP[NRPLaURS[N5$[USRU55eOM[W[CU5SS5nUb4URJnU(a[X`U5$[YX�5nU"U5$[USRU55e![ a GN6f=f![ a GNof=f![ a GM?f=f![ a Nmf=f)zIPrivate helper function to get signature for arbitrary
callable objects.
)r�r�rrrsr�rtz{!r} is not a callable objectc�\�[US5=(d [U[R5$)N�
__signature__)r�r~r�r�r�s r�r��*_signature_from_callable.<locals>.<lambda>�	s'��'�!�_�*E�+C�#-�a��1A�1A�#B�+Cr�r'Nz1unexpected object {!r} in __signature__ attributer	rjr�)r�rrrsrt)r��__call__rjr�r8z(no signature found for builtin type {!r}z+callable {!r} is not supported by signature)-r�r�r�r�r�r-r~r�r�r�r�rhr_r$r�rGr��__partialmethod__�
partialmethodr�r�rr�r�r$r#r<r�rYr�rZr�rJrr�r&rvrIr�r�rj�
from_callabler�r4r�)r�r�r�rrrsrtr��_get_signature_ofr��o_sigrcr��first_wrapped_param�
sig_paramsr��call�new�initr��text_sigs                    r�r�r��	s���"�)�)�*B�6K�/=�(/�'-�'-�)1�
3���C�=�=��7�>�>�s�C�D�D��#�u�'�'�(�(� ����-���*�3�/�/��J���S�!C�E���c�5�+�+�,�,�%�S�)�)�������?��E��c�I�s�#3�4�4��#����e���#�s�#�#�(��c�:���c�9�-�-�� � &��u�
�/�/��J��:��-�-�
��m�Y�%<�%<�=�=�,�M�,>�,>�?�K�(��W�M�C�"'��(>�(>�(E�(E�(G�"H��"K��"�'�'�9�+C�+C�C��
�"�3�>�>�#8�#8�#:�;�
�&�+�a�=�@�B�A�1�3�j�@�
��{�{�j�{�9�9�+>�.�#�y�(�(�)�)�'����1��%�k�7�7��#���4�S�9�9�(��7E�07�QY�[�	[��S�!�!�&�v�6D�F�	F��#�t���
2�$�s�)�Z�H����$�T�*�*�0��i�@��1�#�z�B���K�K�D���9��
�
�#=�'��,��!�1�#�6�C��
��!�j�D�M�M�&A�(��.�.� ��K�K���$�D�
F��2�2���.�f�d�H�E�E��%�*�s�{�{�"�������/����v�~�~�-��+�+�F�3�3� �>�E�E�c�J�L�L�#��d�3�i��T�:����
E��1�1���-�f�8�D�D��"�4�-�D�$�T�*�*�
�B�I�I�#�N�
O�O��O�
��
��(�
��
��^"�
��
��8"�
��
�sH�R�R�<R)�:R;�
R�R�
R&�%R&�)
R8�7R8�;
S�Sc��\rSrSrSrSrg)r�if
z1A private marker - used in Parameter & Signature.r}N�r�ryr9r�r>r�r}r�r�r�r�f
s��;r�r�c��\rSrSrSrSrg)r+ij
z6Marker object for Signature.empty and Parameter.empty.r}Nrnr}r�r�r+r+j
s��@r�r+c�4�\rSrSrSrSrSrSrSrSr	Sr
S	rg
)�_ParameterKindin
zpositional-onlyzpositional or keywordzvariadic positionalr*zvariadic keywordc�r�[UR5n[RX5nX#lXlU$r	)r,�__members__r	rj�_value_�description)rrur��members    r�rj�_ParameterKind.__new__u
s.���C�O�O�$�����S�(����(���
r�c��UR$r	rr�s r��__str__�_ParameterKind.__str__|
s���y�y�r�r}N)r�ryr9r�r9r:r<r=r?rjryr�r}r�r�rqrqn
s&��'�O�3��*�N�!�L�$�K��r�rqc��\rSrSrSrSr\r\r	\
r\r
\r\r\\S.SjrSrSr\S5r\S	5r\S
5r\S5r\\\\S.S
jrSr\rSrSrSr Sr!g)r#i�
a�Represents a parameter in a function signature.

Has the following public attributes:

* name : str
    The name of the parameter as a string.
* default : object
    The default value for the parameter if specified.  If the
    parameter has no default value, this attribute is set to
    `Parameter.empty`.
* annotation
    The annotation for the parameter if specified.  If the
    parameter has no annotation, this attribute is set to
    `Parameter.empty`.
* kind : str
    Describes how argument values are bound to the parameter.
    Possible values: `Parameter.POSITIONAL_ONLY`,
    `Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`,
    `Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`.
)�_name�_kind�_default�_annotationr*c��[U5UlU[LaLUR[[
4;a2SnUR
URR5n[U5eX0lX@l	U[La[S5e[U[5(d/SR
[U5R5n[U5eUSS:Xa}USSR5(aeUR[ :wa2S	nUR
URR5n[U5e["UlS
R
USS5n[%U5=(a UR["LnU(dUR'5(d[SR
U55eXlg![a [SU<S35ef=f)Nzvalue z is not a valid Parameter.kindz({} parameters cannot have default valuesz*name is a required attribute for Parameterzname must be a str, not a {}rjr7rHzLimplicit arguments must be passed as positional or keyword arguments, not {}z
implicit{}z"{!r} is not a valid parameter name)rqr}r�r+r�r�r-rur~rr~r�rr�r��isdigitr�r�rk�isidentifierr|)rBr�r$r�r�r��
is_keywords       r�r��Parameter.__init__�
s���	N�'��-�D�J��&� ��z�z�o�|�<�<�@���j�j����!7�!7�8�� ��o�%��
�%���6�>��I�J�J��$��$�$�0�7�7��T�
�8K�8K�L�C��C�.� ���7�c�>�d�1�2�h�.�.�0�0�
�z�z�3�3�>���j�j����!7�!7�8�� ��o�%�)�D�J��&�&�t�A�B�x�0�D��t�_�K����;K�)K�
��T�.�.�0�0��A�H�H��N�O�O��
��M�	N��v�d�X�-K�L�M�M�	N�s�F2�2G
c�x�[U5URUR4URURS.4$)N�r~r)rr|r}r~rr�s r��
__reduce__�Parameter.__reduce__�
s8���T�
����T�Z�Z�(�!�]�]� $� 0� 0�2�3�	3r�c�,�USUlUSUlg)Nr~rr��rB�states  r��__setstate__�Parameter.__setstate__�
s���j�)��
� ��/��r�c��UR$r	)r|r�s r�r��Parameter.name�
����z�z�r�c��UR$r	)r~r�s r�r��Parameter.default�
s���}�}�r�c��UR$r	)rr�s r�r��Parameter.annotation�
������r�c��UR$r	)r}r�s r�r$�Parameter.kind�
r�r�)r�r$r�r�c���U[LaURnU[LaURnU[LaURnU[LaURn[U5"XXCS9$)z+Creates a customized copy of the Parameter.r*)r�r|r}rr~r)rBr�r$r�r�s     r�r��Parameter.replace�
sY���5�=��:�:�D��5�=��:�:�D�����)�)�J��e���m�m�G��D�z�$�g�M�Mr�c���URnURnUR[La%SR	U[UR55nUR[La^UR[La&SR	U[UR55nO%SR	U[UR55nU[:XaSU-nU$U[:XaSU-nU$)Nz{}: {}z{} = {}z{}={}rr)
r$r|rr+r-r+r~r
r�r�)rBr$�	formatteds   r�ry�Parameter.__str__�
s����y�y���J�J�	����6�)� ���	�'7��8H�8H�'I�K�I��=�=��&����v�-�%�,�,�Y��T�]�]�8K�L�	�#�N�N�9�d�4�=�=�6I�J�	��?�"��i��I����\�
!��y�(�I��r�c�N�SRURRU5$)Nz	<{} "{}">�r-r@r�r�s r�rr�Parameter.__repr__s���!�!�$�.�.�"9�"9�4�@�@r�c�p�[URURURUR45$r	)�hashr|r}rr~r�s r��__hash__�Parameter.__hash__s(���T�Z�Z����T�-=�-=�t�}�}�M�N�Nr�c�4�XLag[U[5(d[$URUR:H=(aY URUR:H=(a9 UR
UR
:H=(a URUR:H$�NT)r~r#�NotImplementedr|r}r~r�rB�others  r��__eq__�Parameter.__eq__sw���=���%��+�+�!�!��
�
�e�k�k�)�6��
�
�e�k�k�)�6��
�
����/�6�� � �E�$5�$5�5�	7r�)rr~r}r|N)"r�ryr9r�r>r=r�r9r�r:r�r<r�r=r�r?r+r�r�r�r�rr�r�r�r$r�r�ry�__replace__rrr�r�r�r}r�r�r#r#�
s����*>�I�.�O�4��-�N�+�L�*�K��E�.4��)�V3�0���������� �� �����$�%� �%�N�$�,�K�A�O�7r�r#c�p�\rSrSrSrSrSr\S5r\S5r	\S5r
SrS	rS
r
SrSrS
rg)r
i&a�Result of `Signature.bind` call.  Holds the mapping of arguments
to the function's parameters.

Has the following public attributes:

* arguments : dict
    An ordered mutable mapping of parameters' names to arguments' values.
    Does not contain arguments' default values.
* signature : Signature
    The Signature object that created this instance.
* args : tuple
    Tuple of positional arguments values.
* kwargs : dict
    Dict of keyword arguments values.
)r��
_signature�__weakref__c��X lXlgr	)r�r�)rBrer�s   r�r��BoundArguments.__init__9s��"��#�r�c��UR$r	)r�r�s r�re�BoundArguments.signature=s�����r�c�b�/nURRR5Hiup#UR[[
4;a OLURUnUR[:XaURU5 MXURU5 Mk [U5$![a  Mf=fr	)r�r�r�r$r�r�r�r��extendr�r�r)rBr�r�r�r8s     r�r��BoundArguments.argsAs�����!%���!;�!;�!A�!A�!C��J��z�z�l�M�:�:��
%��n�n�Z�0���:�:��0��K�K��$��K�K��$�!"D�$�T�{����
��
�s�	B�
B.�-B.c��0nSnURRR5H�up4U(d0UR[[
4;aSnOX0R;aSnM<U(dMEURUnUR[:XaURU5 M|XQU'M� U$![a M�f=f)NFT)	r�r�r�r$r�r�r��updater�)rB�kwargs�kwargs_startedr�r�r8s      r�r��BoundArguments.kwargsXs�������!%���!;�!;�!A�!A�!C��J�!��:�:�,�
�!>�>�%)�N�!���7�)-�� �!��

-��n�n�Z�0���:�:��-��M�M�#�&�*-�:�&�-"D�0�
���
��
�s�/B/�/
B=�<B=c��URn/nURRR5Hup4UR	X1U45 M [U5Ulg![
ae UR[La
URnO/UR[LaSnOUR[La0nOM�UR	X545 M�f=f)z�Set default values for missing arguments.

For variable-positional arguments (*args) the default is an
empty tuple.

For variable-keyword arguments (**kwargs) the default is an
empty dict.
r}N)r�r�r�r�r�r�r�r+r$r�r�r�)rBr��
new_argumentsr�r��vals      r��apply_defaults�BoundArguments.apply_defaultsvs����N�N�	��
��?�?�5�5�;�;�=�K�D�

2��$�$�d�d�O�%<�=�>��m�,�����
2��=�=��.��-�-�C��Z�Z�?�2��C��Z�Z�<�/��C���$�$�d�[�1�
2�s�A#�#AC�<C�Cc��XLag[U[5(d[$URUR:H=(a URUR:H$r�)r~r
r�rer�r�s  r�r��BoundArguments.__eq__�sG���=���%��0�0�!�!����%�/�/�1�2����%�/�/�1�	3r�c�,�USUlUSUlg)Nr�r��r�r�r�s  r�r��BoundArguments.__setstate__�s����-����{�+��r�c�4�URURS.$)Nr�r�r�s r��__getstate__�BoundArguments.__getstate__�s��"�o�o�D�N�N�K�Kr�c��/nURR5H%up#URSRX#55 M' SRURR
SR
U55$)Nz{}={!r}z	<{} ({})>r")r�r�r�r-r@r�rN)rBr�r8r�s    r�rr�BoundArguments.__repr__�s\�����.�.�.�.�0�J�C��K�K�	�(�(��4�5�1��!�!�$�.�.�"9�"9�4�9�9�T�?�K�Kr�r�N)r�ryr9r�r>r=r�rrer�r�r�r�r�r�rrr�r}r�r�r
r
&sj��� ;�I�$���������,����:-�83�,�L�Lr�r
c���\rSrSrSrSr\r\r	\
rS\
SS.Sjjr\
SSSSS	.S
j5r\S5r\S5r\\S
.Sjr\rSrSrSrSS.SjrSrSrSrSrSrSrSS.SjrSr g)r$i�a�A Signature object represents the overall signature of a function.
It stores a Parameter object for each parameter accepted by the
function, as well as information specific to the function itself.

A Signature object has the following public attributes and methods:

* parameters : OrderedDict
    An ordered mapping of parameters' names to the corresponding
    Parameter objects (keyword-only arguments are in the same order
    as listed in `code.co_varnames`).
* return_annotation : object
    The annotation for the return type of the function if specified.
    If the function has no annotation for its return type, this
    attribute is set to `Signature.empty`.
* bind(*args, **kwargs) -> BoundArguments
    Creates a mapping from positional and keyword arguments to
    parameters.
* bind_partial(*args, **kwargs) -> BoundArguments
    Creates a partial mapping from positional and keyword arguments
    to parameters (simulating 'functools.partial' behavior.)
)�_return_annotation�_parametersNTrLc�8�Uc[5nO�U(a�[5n[nSnUH�nURnURn	X�:a3Sn
U
R	UR
UR
5n
[
U
5eX�:�aUnU[[4;a*UR[LaU(a
Sn
[
U
5eOSnX�;aSR	U	5n
[
U
5eXtU	'M� O[SU55n[R"U5UlX l
g)ztConstructs Signature from the given list of Parameter
objects and 'return_annotation'.  All arguments are optional.
NFz7wrong parameter order: {} parameter before {} parameterz-non-default argument follows default argumentTzduplicate parameter name: {!r}c3�<# �UHoRU4v� M g7fr	r�r
r�s  r�r�%Signature.__init__.<locals>.<genexpr>�s���$Q�j�U�j�j�%�%8�j�s�)rnr�r$r�r-rur�r�r�r+r��MappingProxyTyper�r�)rBr�r�rMr��top_kind�seen_defaultr�r$r�r�s           r�r��Signature.__init__�s���� �]�F�&�$���+��$��'�E� �:�:�D� �:�:�D���(��"�j�j��)=�)=�)-�)9�)9�;��(��o�-���#'��� 0�2H�I�I� �=�=�F�2�+�'1��&0��o� 5� ,�,0�L��~�>�E�E�d�K��(��o�-�#(�4�L�?(�B%�$Q�j�$Q�Q�� �1�1�&�9���"3�r�F��follow_wrappedrrrsrtc	��[XUX4US9$)z3Constructs Signature for the given callable object.)r�r�rrrsrt)r�)rr�r�rrrsrts      r�rd�Signature.from_callable�s��(��>L�07�QY�[�	[r�c��UR$r	)r�r�s r�r��Signature.parametersr�r�c��UR$r	�r�r�s r�r��Signature.return_annotations���&�&�&r�)r�r�c��U[LaURR5nU[LaURn[	U5"UUS9$)z�Creates a customized copy of the Signature.
Pass 'parameters' and/or 'return_annotation' arguments
to override them in the new copy.
r1)r�r�r�r�r)rBr�r�s   r�r��Signature.replace
sH��������/�/�1�J���%� $� 7� 7���D�z�*�,=�?�	?r�c��[SURR555nURR5Vs0sH&nUR[:XdMUR
U_M( nnXUR4$s snf)Nc3�R# �UHnUR[:wdMUv� M g7fr	)r$r�r�s  r�r�(Signature._hash_basis.<locals>.<genexpr>s%���=�*B�� %�
�
�m� ;��u�*B�s�'�	')rr�r�r$r�r�r�)rBr�r��
kwo_paramss    r��_hash_basis�Signature._hash_basiss����=�$�/�/�*@�*@�*B�=�=��6:�_�_�5K�5K�5M�H�5M�E�+0�:�:��+F�(�e�j�j�%�'�5M�
�H��4�#9�#9�9�9��Hs�B�#Bc�t�UR5upn[UR55n[XU45$r	)r��	frozensetr�r�)rBr�r�r�s    r�r��Signature.__hash__$s:��04�0@�0@�0B�-��-��z�0�0�2�3�
��V�):�;�<�<r�c��XLag[U[5(d[$UR5UR5:H$r�)r~r$r�r�r�s  r�r��Signature.__eq__)s:���=���%��+�+�!�!����!�U�%6�%6�%8�8�8r��r�c	��0n[URR55nSn[U5n/n[U5n	[U5n
U
R[
[4;a[S5SeU
R[:Xa,U	/nURU5 [U5XJR'OWU
RU;a7U
R[:wa#[SRU
RS95SeX�U
R'M�Sn[$R&"Xe5HSn
U
R[
:XaU
nMU
R[:XaM1U
RnUR)U5n	X�U'MU U(aqUbX$UR'O_U(a.[SRSR-S
U55S95e[SR[[U55S95eUR/X5$![a
 [S5Sef=f![a� [U5n
U
R[:XaGM@U
RU;a0U
R[:XaURU
5 GMOU
4nGM�U
R[
:XdU
R ["LaU
4nGM�U(aU
4nGM�U
R[:XaSnOSnSn
U
RU
RUS	9n
[U
5Se![a GMf=ff=f![*aT U(dHU
R[:wa0U
R ["La[S
RUS95SeGMQGMUGMYf=f)z#Private method. Don't use directly.r}ztoo many positional argumentsNz$multiple values for argument {arg!r})r8z
 keyword-onlyr�z-missing a required{argtype} argument: {arg!r})r8�argtypez$missing a required argument: {arg!r}zGgot some positional-only arguments passed as keyword arguments: {arg!r}r"c3�:# �UHnURv� M g7fr	rr�s  r�r�"Signature._bind.<locals>.<genexpr>�s���&�)A��"�J�J�)A�s�z*got an unexpected keyword argument {arg!r})r�r�r�rr$r�r�r�r�r�rr�r�r-�
StopIterationr�r�r+r�r7rMr�rN�_bound_arguments_cls)rBr�r�r�r�r��
parameters_ex�arg_vals�pos_only_param_in_kwargs�arg_valr�r�r�r��kwargs_paramr�s                r��_bind�Signature._bind0sz���	��$�/�/�0�0�2�3�
��
���:��#%� ��G
4��x�.��Z4� ��,�E��z�z�l�M�%B�B�(�;�=�BF�G��z�z�_�4�#*����
�
�h�/�05�f�
�	�*�*�-���z�z�V�+��
�
�>N�0N�'�B�I�I�$)�J�J�J�0�1�6:�;�-4�e�j�j�)�U�\���_�_�]�?�E��z�z�\�)�$����z�z�_�,�����J�

0� �*�*�Z�0��)0�*�%�5@�8��'�/5�,�+�+�,�)��1�17�� �I�I�&�)A�&��28�2��� �@�G�G� ��f��.�H�0�1�1��(�(��9�9��W%�O�#�$C�D�$�N�O��]!�)
;�';� ��,�E��z�z�_�4�����v�-� �:�:�)9�9�5�;�;�E�B�$�).��
���*�*��4�05�
�
�V�0K�*/��
��#�-2�H�M�!�$�z�z�]�:�*9��*,��"Q�C�"%�*�*����W�*�"M�C�"+�C�.�d�:��K%�����	)
;��r�
F�
 �E�J�J�/�$A�49�M�M�V�4K�#�$J�$*�F�z�F�$:�<�AE�F�5L�%B��
F�sm�H�H�!L�H�
L�(L�3L�5L�L�*L�9
L�AL�
L�L�L�L�AM=�<M=c�$�URX5$)z�Get a BoundArguments object, that maps the passed `args`
and `kwargs` to the function's signature.  Raises `TypeError`
if the passed arguments can not be bound.
�r��rBr�r�s   r��bind�Signature.bind�s��
�z�z�$�'�'r�c�"�URXSS9$)z�Get a BoundArguments object, that partially maps the
passed `args` and `kwargs` to the function's signature.
Raises `TypeError` if the passed arguments can not be bound.
Tr�r�r�s   r�r��Signature.bind_partial�s��
�z�z�$��z�5�5r�c�z�[U5[URR554SUR04$�Nr�)rrr�r�r�r�s r�r��Signature.__reduce__�s=���T�
��t�'�'�.�.�0�1�3�%�t�'>�'>�?�A�	Ar�c��USUlgrr�r�s  r�r��Signature.__setstate__�s��"'�(<�"=��r�c�N�SRURRU5$)Nz<{} {}>r�r�s r�rr�Signature.__repr__�s�������� 7� 7��>�>r�c�"�UR5$r	)r-r�s r�ry�Signature.__str__�s���{�{�}�r�)�	max_widthc��/nSnSnURR5H�n[U5nURnU[:XaSnOU(aURS5 SnU[:XaSnO$U[:XaU(aURS5 SnURU5 M� U(aURS5 SRSRU55nUb/[U5U:�a SRSRU55nUR[La)[UR5n	US	RU	5-
nU$)
z�Create a string representation of the Signature object.

If *max_width* integer is passed,
signature will try to fit into the *max_width*.
If signature is longer than *max_width*,
all parameters will be on separate lines.
FT�/rz({})r"z
(
    {}
)z,
    z -> {})r�r�r�r$r�r�r�r�r-rNr,r�r+r+)
rBr	r�render_pos_only_separator�render_kw_only_separatorr�r�r$�rendered�annos
          r�r-�Signature.format�s+����$)�!�#'� ��_�_�+�+�-�E��E�
�I��:�:�D��'�'�,0�)�*��
�
�c�"�,1�)���&�,1�(���&�+C��
�
�c�"�,1�(��M�M�)�$�5.�8%�
�M�M�#���=�=����6�!2�3��� �S��]�Y�%>�%�,�,�Y�^�^�F�-C�D�H��!�!��/�#�D�$:�$:�;�D������-�-�H��r�)r�r�r	)!r�ryr9r�r>r=r#r2r
r�r+r�r�rrdrr�r�r�r�r�r�r�r�r�r�r�r�r�rrryr-r�r}r�r�r$r$�s����,6�I��N�)���E�24�V�)-�24�h�%)�4��u�[��[�� �� ��'��'�%*�U�
?��K�:�=�
9�.3�I:�V(�6�A�
>�?��#'�4�4r�r$r�c�,�[RXX#US9$)z/Get a signature object for the passed callable.r�)r$rd)r�r�rrrsrts     r�rere
s#���"�"�3�+2�H�#�V�Vr�c��\rSrSrSrSrSrSrS\-rS\-r	S\-r
S	\-rS
\-r\\-r
\r\\-r\r\\-\-r\\-r\\-\-r\\-rS
rSrSrg
)ri
rjrH���� �@��ir}N)r�ryr9r��SIMPLE�WRITABLE�FORMAT�ND�STRIDES�C_CONTIGUOUS�F_CONTIGUOUS�ANY_CONTIGUOUS�INDIRECT�CONTIG�	CONTIG_RO�STRIDED�
STRIDED_RO�RECORDS�
RECORDS_RO�FULL�FULL_RO�READ�WRITEr�r}r�r�rr
s���
�F��H�
�F�	�B��R�i�G��'�>�L��'�>�L��G�^�N��w��H�
�(�]�F��I��� �G��J��� �6�)�G��6�!�J��h���'�D����G��D��Er�rc�0�SSKnSSKnUR5nURSSS9 URSSSS	S
9 UR	5nUR
nUR
S5upVnUR"U5=p�U(a'UR!S5nW	nUHn
[#X�5nM W	R[R$;a.[S[RS
9 [R"S5 UR&(a�[SRU55 [SR[)U	555 [SRU	R*55 WU	Lac[SR[-U	R.555 [1U	S5(a$[SRU	R255 O([5U5up�[SRU55 [S5 g[[7W55 g![a_n
SRU[U
5RU
5n[U[RS
9 [R"S5 Sn
A
GNSn
A
ff=f![a N�f=f)z5Logic for inspecting an object given at command line rjNr�zCThe object to be analysed. It supports the 'module:qualname' syntax)�helpz-dz	--details�
store_truez9Display info about the module rather than its source code)�actionr.�:zFailed to import {} ({}: {}))r�r�r7z#Can't get info for builtin modules.rHz
Target: {}z
Origin: {}z
Cached: {}z
Loader: {}�__path__zSubmodule search path: {}zLine: {}rG)�argparser`�ArgumentParser�add_argument�
parse_argsr��	partition�
import_modulerr-rr��printr��stderr�exitr:r��builtin_module_names�detailsrK�
__cached__r
rrr�r2r*rJ)r3r`�parserr��target�mod_name�	has_attrs�attrsr�r�r�r��parts�part�__rks                r��_mainrG*
s$����
�
$�
$�
&�F�
����9��:�����k�,�
H��J�����D�
�[�[�F�!'�!1�!1�#�!6��H��� �.�.�x�8�8������C� �����D��#�$�C�����#�2�2�2�
�3�#�*�*�E�������|�|�
�l�!�!�&�)�*�
�l�!�!�-��"7�8�9�
�l�!�!�&�"3�"3�4�5��&�=��,�%�%�d�6�+<�+<�&=�>�?��v�z�*�*��1�8�8����I�J��
1�'��_�
���j�'�'��/�0�
�d��
�i��n���G��,�3�3�H�48��I�4F�4F�47�9��	�c��
�
�#����������8�
��
�s+�,H�
J�
J�&AJ�J�
J�JrVr	)F)rH)r})T)TNNF)�r>�
__author__�__all__r�rrT�collections.abcr��enum�importlib.machineryr`r�r{r]rr�r�r�r�r�r��keywordrk�operatorrlrmrn�weakrefror�rr�mod_dict�COMPILER_FLAG_NAMESr�rrr%r.rarSr^r_rWr�r]r\rYr�r[r�r�r�rdrVrPrOrZrUrQrcrXrTrRr`rbrNrrDrErr'rHrhrMr;rDr<r(r=rGrKr/r�r�rFrrr*r9rr	r5rLrJrir7rr0rr?rr1r+r,r�r-r0r<r6rr8rcr&r|ryr>rC�_fieldsr�rrIrBr)rfrgr�rrvr�r�r�r�r��	lru_cacher�r�r4r r!r"rrAr@r
rrrr;r:rrrrr3r2�WrapperDescriptorTyper�rr�r�r�r�r�r�r�r�rGrJrZr�r�r�r+�IntEnumrqr9r�r:r�r<r�r=r�r?r�r#r
r$re�IntFlagrrGr�r}r�r��<module>rWs)���@9�
�i��X�
�
������	�	�
��������/�'��9���#�#�)�)�+�D�A�q��H�U�Q�Y��
,��q�(���%)���v�t0�$�0�/�8?��5�(�)�)�>���5�(�)�)�>��2�,�-��X��J��I�3�8�3�"3�;�3�/�.�29�7�(��0(�T3�
:�
�{�$E�F�	�p�h���@0�
�;�z�&�8,�8
��:8��
���-�`	�)�	�70�r+%�Z"��!�4�4�l$�&0�*��+�6
�{�$:�;�	�8�6��M�O��Z<�z�Y� >�
?��9���"�"9� 8� ?�	(�.7� D�*:�x��(L�M��54�r��&S�
T�
�
-�
�
-�7�O�)A�V�
��j�9�3D�3D�&D�
E�
�
@�
�
@���C�5�'�
�H�	����y�)�1�1�� �M�M�*�5�=�=��4���������$
�'0�/�h�����
�
�
��$�&����!�����$
�����!�����$�."�7�7�!�3�3�!�;�;�!�5�5�7���$I?�X*�4*�G�2/+�dP8�f
<� 8<�AF�\9�~+�48�,0�%)�$(�&+�vP�r<�<�A�A��T�\�\��"*�9�9��)�?�?��)�8�8��)�6�6�
�)�5�5��]7�]7�@L�L�Dc�c�L&*�4��u�V��$�,�,��,7�t�z��	�G�r�
© 2025 GrazzMean-Shell